Commit 51e6f411 by Michael DeHaan

Docs: Fix the module formatter code that is intended to remove the 'historical'…

Docs: Fix the module formatter code that is intended to remove the 'historical' variable from showing up in version_added information (RST)
parent 52b2cfed
...@@ -366,8 +366,8 @@ def main(): ...@@ -366,8 +366,8 @@ def main():
if not 'version_added' in doc: if not 'version_added' in doc:
sys.stderr.write("*** ERROR: missing version_added in: %s ***\n" % module) sys.stderr.write("*** ERROR: missing version_added in: %s ***\n" % module)
sys.exit(1) sys.exit(1)
if doc['version_added'] == 'historical': if doc['version_added'] == 'historical':
del doc['version_added'] del doc['version_added']
for (k,v) in doc['options'].iteritems(): for (k,v) in doc['options'].iteritems():
all_keys.append(k) all_keys.append(k)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment