Skip to content

Commit

Permalink
ubuiltins: Document help.
Browse files Browse the repository at this point in the history
  • Loading branch information
laurensvalk committed Nov 28, 2022
1 parent d108122 commit f6f87fe
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/ubuiltins/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
"""


Expand Down

0 comments on commit f6f87fe

Please sign in to comment.