ubuiltins: Fix id.

This commit is contained in:
Laurens Valk
2022-11-28 15:31:25 +01:00
parent 17c45c3245
commit 8a73e916e7
+1 -1
View File
@@ -585,7 +585,7 @@ def hex(x: int) -> _str:
"""
def id() -> _int:
def id(object: Any) -> _int:
"""
Returns the “identity” of an object. This is an integer which is guaranteed
to be unique and constant for this object during its lifetime.