-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
208 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
class MyClass: | ||
"""Multiline | ||
class docstring | ||
""" | ||
|
||
def method(self): | ||
"""Multiline | ||
method docstring | ||
""" | ||
pass | ||
|
||
|
||
def foo(): | ||
"""This is a docstring with | ||
some lines of text here | ||
""" | ||
return | ||
|
||
|
||
def bar(): | ||
'''This is another docstring | ||
with more lines of text | ||
''' | ||
return | ||
|
||
|
||
def baz(): | ||
'''"This" is a string with some | ||
embedded "quotes"''' | ||
return | ||
|
||
|
||
def troz(): | ||
'''Indentation with tabs | ||
is just as OK | ||
''' | ||
return | ||
|
||
|
||
def zort(): | ||
"""Another | ||
multiline | ||
docstring | ||
""" | ||
pass | ||
|
||
# output | ||
|
||
class MyClass: | ||
"""Multiline | ||
class docstring | ||
""" | ||
|
||
def method(self): | ||
"""Multiline | ||
method docstring | ||
""" | ||
pass | ||
|
||
|
||
def foo(): | ||
"""This is a docstring with | ||
some lines of text here | ||
""" | ||
return | ||
|
||
|
||
def bar(): | ||
"""This is another docstring | ||
with more lines of text | ||
""" | ||
return | ||
|
||
|
||
def baz(): | ||
'''"This" is a string with some | ||
embedded "quotes"''' | ||
return | ||
|
||
|
||
def troz(): | ||
"""Indentation with tabs | ||
is just as OK | ||
""" | ||
return | ||
|
||
|
||
def zort(): | ||
"""Another | ||
multiline | ||
docstring | ||
""" | ||
pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters