[Epydoc-commits] SF.net SVN: epydoc: [1660] trunk/epydoc/src/epydoc/docwriter/dotgraph.py
Brought to you by:
edloper
|
From: <dva...@us...> - 2007-10-20 16:48:46
|
Revision: 1660
http://epydoc.svn.sourceforge.net/epydoc/?rev=1660&view=rev
Author: dvarrazzo
Date: 2007-10-20 09:48:44 -0700 (Sat, 20 Oct 2007)
Log Message:
-----------
- Methods and variables order consistent with other generated docs.
Modified Paths:
--------------
trunk/epydoc/src/epydoc/docwriter/dotgraph.py
Modified: trunk/epydoc/src/epydoc/docwriter/dotgraph.py
===================================================================
--- trunk/epydoc/src/epydoc/docwriter/dotgraph.py 2007-09-27 10:17:07 UTC (rev 1659)
+++ trunk/epydoc/src/epydoc/docwriter/dotgraph.py 2007-10-20 16:48:44 UTC (rev 1660)
@@ -467,7 +467,8 @@
show_private = options.get('show_private_vars', False)
show_magic = options.get('show_magic_vars', True)
show_inherited = options.get('show_inherited_vars', False)
- for name, var in class_doc.variables.iteritems():
+ for var in class_doc.sorted_variables:
+ name = var.canonical_name[-1]
if ((not show_private and var.is_public == False) or
(not show_magic and re.match('__\w+__$', name)) or
(not show_inherited and var.container != class_doc)):
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|