-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Better handling of backslash in docstring (#74)
- Loading branch information
Showing
8 changed files
with
148 additions
and
11 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
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,29 @@ | ||
def myFunc( | ||
arg1_: int, | ||
arg2__: int, | ||
arg3___: int, | ||
arg4____: int, | ||
some_thing_1_: int, | ||
some_thing_2__: int, | ||
some_thing_3___: int, | ||
some_thing_4____: int, | ||
some_thing_5_____: str, | ||
) -> None: | ||
r""" | ||
Do something. | ||
Args: | ||
arg1\_ (int): Arg | ||
arg2\_\_ (int): Arg | ||
arg3\_\_\_ (int): Arg | ||
arg4\_\_\_\_ (int): Arg | ||
some_thing_1\_ (int): Arg | ||
some_thing_2\_\_ (int): Arg | ||
some_thing_3\_\_\_ (int): Arg | ||
some_thing_4\_\_\_\_ (int): Arg | ||
some_thing_5_____ (str): Arg | ||
Returns: | ||
None: Return value | ||
""" | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
def myFunc( | ||
arg1_: int, | ||
arg2__: int, | ||
arg3___: int, | ||
arg4____: int, | ||
some_thing_1_: int, | ||
some_thing_2__: int, | ||
some_thing_3___: int, | ||
some_thing_4____: int, | ||
some_thing_5_____: str, | ||
) -> None: | ||
r""" | ||
Do something. | ||
Parameters | ||
---------- | ||
arg1\_ : int | ||
Arg | ||
arg2\_\_ : int | ||
Arg | ||
arg3\_\_\_ : int | ||
Arg | ||
arg4\_\_\_\_ : int | ||
Arg | ||
some_thing_1\_ : int | ||
Arg | ||
some_thing_2\_\_ : int | ||
Arg | ||
some_thing_3\_\_\_ : int | ||
Arg | ||
some_thing_4\_\_\_\_ : int | ||
Arg | ||
some_thing_5_____ : str | ||
Arg | ||
Returns | ||
------- | ||
None | ||
Return value | ||
""" | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
def myFunc( | ||
arg1_: int, | ||
arg2__: int, | ||
arg3___: int, | ||
arg4____: int, | ||
some_thing_1_: int, | ||
some_thing_2__: int, | ||
some_thing_3___: int, | ||
some_thing_4____: int, | ||
some_thing_5_____: str, | ||
) -> None: | ||
r""" | ||
Do something. | ||
:param arg1\_: Arg | ||
:type arg1\_: int | ||
:param arg2\_\_: Arg | ||
:type arg2\_\_: int | ||
:param arg3\_\_\_: Arg | ||
:type arg3\_\_\_: int | ||
:param arg4\_\_\_\_: Arg | ||
:type arg4\_\_\_\_: int | ||
:param some_thing_1\_: Arg | ||
:type some_thing_1\_: int | ||
:param some_thing_2\_\_: Arg | ||
:type some_thing_2\_\_: int | ||
:param some_thing_3\_\_\_: Arg | ||
:type some_thing_3\_\_\_: int | ||
:param some_thing_4\_\_\_\_: Arg | ||
:type some_thing_4\_\_\_\_: int | ||
:param some_thing_5_____: Arg | ||
:type some_thing_5_____: str | ||
:return: Return value | ||
:rtype: None | ||
""" | ||
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
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