From 8a73e916e77041cb51599059e2d6cbd65e89c80e Mon Sep 17 00:00:00 2001 From: Laurens Valk Date: Mon, 28 Nov 2022 15:31:25 +0100 Subject: [PATCH] ubuiltins: Fix id. --- src/ubuiltins/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ubuiltins/__init__.py b/src/ubuiltins/__init__.py index 41b26b5..af469cc 100644 --- a/src/ubuiltins/__init__.py +++ b/src/ubuiltins/__init__.py @@ -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.