mirror of
https://github.com/pybricks/pybricks-api.git
synced 2026-09-12 01:24:17 +00:00
ubuiltins: Document help.
This commit is contained in:
@@ -565,8 +565,16 @@ def help(object: Any) -> None:
|
||||
|
||||
def help(*args) -> None:
|
||||
"""
|
||||
Prints help for the ``object``. If no argument is given, prints general help.
|
||||
If object is ``'modules'``, prints available modules.
|
||||
help()
|
||||
help(object)
|
||||
|
||||
Get information about an object.
|
||||
|
||||
If no arguments are given, this function prints instructions to operate the
|
||||
REPL. If the argument is ``"modules"``, it prints the available modules.
|
||||
|
||||
Arguments:
|
||||
object: Object for which to print help information.
|
||||
"""
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user