Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

25 lines (17 sloc) 0.888 kb
Python code follows PEP8 [1] with regard to coding style and PEP257 [2] with
regard to docstring style. Multi-line docstrings should have one short summary
line, followed by a blank line and a series of paragraphs. The last paragraph
should be followed by a line that closes the docstring (no blank line in
between). Here's an example from lib/bup/
def unlink(f):
"""Delete a file at path 'f' if it currently exists.
Unlike os.unlink(), does not throw an exception if the file didn't already
Module-level docstrings follow exactly the same guidelines but without the
blank line between the summary and the details.
The C implementations should follow the kernel/git coding style [3].
Jump to Line
Something went wrong with that request. Please try again.