Mercurial > python-for-js-programmers
changeset 23:e5ba89c69c1f
Minor style change
author | Atul Varma <varmaa@toolness.com> |
---|---|
date | Thu, 05 Jun 2008 23:05:10 -0700 |
parents | 91746d1779b7 |
children | dd7beb3cbb82 |
files | PythonForJsProgrammers.txt |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/PythonForJsProgrammers.txt Thu Jun 05 23:01:31 2008 -0700 +++ b/PythonForJsProgrammers.txt Thu Jun 05 23:05:10 2008 -0700 @@ -252,7 +252,7 @@ ... "Does something useless" ... pass -As mentioned earlier, this string is called the `docstring`, and is +As mentioned earlier, this string is called the docstring, and is actually attached to the function object as its ``__doc__`` attribute. Creating docstrings for your functions not only helps document your code, but also makes it easier for Python users to interactively