Add a bunch of missing python docstrings.
This appeases pylint, so un-disable its docstring warning.
This commit is contained in:
parent
39e017869d
commit
29f939013e
23 changed files with 89 additions and 4 deletions
|
|
@ -1,5 +1,7 @@
|
|||
"""Simple integer conversion helper."""
|
||||
|
||||
def atoi(v):
|
||||
"""Convert v to an integer, or return 0 on error, like C's atoi()."""
|
||||
try:
|
||||
return int(v or 0)
|
||||
except ValueError:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue