ubuiltins: Document callable.

This commit is contained in:
Laurens Valk
2022-11-28 15:45:30 +01:00
parent f6f87fec95
commit ac43f8a29f
+9 -1
View File
@@ -242,7 +242,15 @@ class bytearray:
def callable(object: Any) -> _bool:
"""
Returns ``True`` if the object argument appears callable, ``False`` if not.
callable(object) -> bool
Checks if an object is callable.
Arguments:
object: Object to check.
Returns:
``True`` if the object argument appears callable, ``False`` if not.
"""