Commit 1a9d2d22 authored by Martin Reinecke's avatar Martin Reinecke
Browse files

tiny tweak

parent 99b34c67
......@@ -159,7 +159,7 @@ class _DocStringInheritor(type):
if doc:
clsdict['__doc__'] = doc
break
for attr, attribute in list(clsdict.items()):
for attr, attribute in clsdict.items():
if not attribute.__doc__:
for mro_cls in (mro_cls for base in bases
for mro_cls in base.mro()
......
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