mirror of
https://github.com/pybricks/pybricks-api.git
synced 2026-09-12 01:24:17 +00:00
ubuiltins: Document callable.
This commit is contained in:
@@ -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.
|
||||
"""
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user