[Epydoc-commits] SF.net SVN: epydoc: [1385] trunk/epydoc/src/epydoc/docintrospecter.py
Brought to you by:
edloper
From: <dva...@us...> - 2006-09-11 13:45:24
|
Revision: 1385 http://svn.sourceforge.net/epydoc/?rev=1385&view=rev Author: dvarrazzo Date: 2006-09-11 06:45:12 -0700 (Mon, 11 Sep 2006) Log Message: ----------- - Replaced a "!= None" test with an "is not None" Modified Paths: -------------- trunk/epydoc/src/epydoc/docintrospecter.py Modified: trunk/epydoc/src/epydoc/docintrospecter.py =================================================================== --- trunk/epydoc/src/epydoc/docintrospecter.py 2006-09-11 13:42:10 UTC (rev 1384) +++ trunk/epydoc/src/epydoc/docintrospecter.py 2006-09-11 13:45:12 UTC (rev 1385) @@ -246,7 +246,7 @@ # Create a VariableDoc for the child, and introspect its # value if it's defined in this module. container = get_containing_module(child) - if container != None and container == module_doc.canonical_name: + if container is not None and container == module_doc.canonical_name: # Local variable. child_val_doc = introspect_docs(child, context=module_doc) child_var_doc = VariableDoc(name=child_name, This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |