Docs: Fix the module formatter code that is intended to remove the 'historical' variable from showing up in version_added information (RST)

pull/5095/merge
Michael DeHaan 11 years ago
parent 52b2cfedfc
commit 51e6f411f2

@ -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)

Loading…
Cancel
Save