PEP8 cleanup in std.py.

This commit is contained in:
Georg Brandl 2014-09-20 19:59:14 +02:00
parent a555bda5eb
commit a064f43bc0

View File

@ -29,6 +29,8 @@ from sphinx.util.compat import Directive
# RE for option descriptions
option_desc_re = re.compile(r'((?:/|--|-|\+)?[-?@#_a-zA-Z0-9]+)(=?\s*.*)')
# RE for grammar tokens
token_re = re.compile('`(\w+)`', re.U)
class GenericObject(ObjectDescription):
@ -370,8 +372,6 @@ class Glossary(Directive):
return messages + [node]
token_re = re.compile('`(\w+)`', re.U)
def token_xrefs(text):
retnodes = []
pos = 0