Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
8
Task/Documentation/Python/documentation-1.py
Normal file
8
Task/Documentation/Python/documentation-1.py
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
class Doc(object):
|
||||
"""
|
||||
This is a class docstring. Traditionally triple-quoted strings are used because
|
||||
they can span multiple lines and you can include quotation marks without escaping.
|
||||
"""
|
||||
def method(self, num):
|
||||
"""This is a method docstring."""
|
||||
pass
|
||||
11
Task/Documentation/Python/documentation-2.py
Normal file
11
Task/Documentation/Python/documentation-2.py
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
>>> def somefunction():
|
||||
"takes no args and returns None after doing not a lot"
|
||||
|
||||
|
||||
>>> help(somefunction)
|
||||
Help on function somefunction in module __main__:
|
||||
|
||||
somefunction()
|
||||
takes no args and returns None after doing not a lot
|
||||
|
||||
>>>
|
||||
Loading…
Add table
Add a link
Reference in a new issue