Resolve option conflict differently.

This commit is contained in:
Michael DeHaan 2014-08-05 20:40:01 -04:00
parent f24e335d0f
commit 1c6398dd3b

View file

@ -85,9 +85,7 @@ def get_docstring(filename, verbose=False):
if not doc.has_key(key):
doc[key] = value
else:
# not sure this is the only example but don't do this for the copy module
if key != 'force':
doc[key].update(value)
doc[key].update(value)
if 'EXAMPLES' in (t.id for t in child.targets):
plainexamples = child.value.s[1:] # Skip first empty line