ডক স্ট্রিংস
"""
If I really hate pressing `enter` and
typing all those hash marks, I could
just do this instead
""">>> def func():
... '''this is the function documentation'''
... pass
>>> print(func.__doc__)
this is the function documentation
>>> help(func)
Help on function func in module __main__:
func()
this is the function documentationLast updated
Was this helpful?