Georg Brandl  committed dd371c9

Fix pyflakes issues.

  • Participants
  • Parent commits 2fb001f
  • Branches default

Comments (0)

Files changed (2)

File sphinx/domains/

                     # "fuzzy" searching mode
                     searchname = '.' + name
-                    matches = [(name, objects[name]) for name in objects
-                               if name.endswith(searchname)
-                               and objects[name][1] in objtypes]
+                    matches = [(oname, objects[oname]) for oname in objects
+                               if oname.endswith(searchname)
+                               and objects[oname][1] in objtypes]
             # NOTE: searching for exact match, object type is not considered
             if name in objects:

File sphinx/pycode/

     :license: BSD, see LICENSE for details.
-import re
-import sys
 from os import path
 from cStringIO import StringIO