mirror of
https://github.com/pybricks/pybricks-api.git
synced 2026-09-11 17:14:41 +00:00
ubuiltins: Fix id.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user