Mercurial > python-for-js-programmers
changeset 37:dea2264f872c
Minor clarification.
author | Atul Varma <varmaa@toolness.com> |
---|---|
date | Fri, 06 Jun 2008 12:06:01 -0700 |
parents | f1e8805a9666 |
children | eccfb8efc186 |
files | PythonForJsProgrammers.html PythonForJsProgrammers.txt |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/PythonForJsProgrammers.html Fri Jun 06 12:00:21 2008 -0700 +++ b/PythonForJsProgrammers.html Fri Jun 06 12:06:01 2008 -0700 @@ -646,7 +646,7 @@ class by using the <tt class="docutils literal"><span class="pre">type</span></tt> built-in function:</p> <blockquote> <pre class="doctest-block"> ->>> class OldStyle: # No superclass! +>>> class OldStyle: # No superclass means it's old-style ... pass >>> class NewStyle(object): ... pass
--- a/PythonForJsProgrammers.txt Fri Jun 06 12:00:21 2008 -0700 +++ b/PythonForJsProgrammers.txt Fri Jun 06 12:06:01 2008 -0700 @@ -581,7 +581,7 @@ can tell that an object is an instance of an old-style or new-style class by using the ``type`` built-in function: - >>> class OldStyle: # No superclass! + >>> class OldStyle: # No superclass means it's old-style ... pass >>> class NewStyle(object): ... pass