diff options
| author | Naveed Massjouni <naveedm9@gmail.com> | 2011-02-18 13:27:30 -0500 |
|---|---|---|
| committer | Naveed Massjouni <naveedm9@gmail.com> | 2011-02-18 13:27:30 -0500 |
| commit | a55fefdd78ac984b366c8e1701cbbd8f5ad18e97 (patch) | |
| tree | 528927e45c4ff8d4bbc0b3850da10454f12baeb3 /HACKING | |
| parent | 4673afddcb5a1069f75fb3493e43498ed1de11f9 (diff) | |
| parent | 5dfa5ce7d1374509fea51f8d0b132ea865f34dc6 (diff) | |
Merging trunk to my branch. Fixed conflicts in Authors file and .mailmap.
Diffstat (limited to 'HACKING')
| -rw-r--r-- | HACKING | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -47,3 +47,22 @@ Human Alphabetical Order Examples from nova.auth import users from nova.endpoint import api from nova.endpoint import cloud + +Docstrings +---------- + """Summary of the function, class or method, less than 80 characters. + + New paragraph after newline that explains in more detail any general + information about the function, class or method. After this, if defining + parameters and return types use the Sphinx format. After that an extra + newline then close the quotations. + + When writing the docstring for a class, an extra line should be placed + after the closing quotations. For more in-depth explanations for these + decisions see http://www.python.org/dev/peps/pep-0257/ + + :param foo: the foo parameter + :param bar: the bar parameter + :returns: description of the return value + + """ |
