Commit 94432424 authored by Georg Brandl's avatar Georg Brandl

That was one too much.

parent 7eb4b7d1
...@@ -92,7 +92,7 @@ def classname(object, modname): ...@@ -92,7 +92,7 @@ def classname(object, modname):
return name return name
def isdata(object): def isdata(object):
"""Check if an object is of a type that probably means its data.""" """Check if an object is of a type that probably means it's data."""
return not (inspect.ismodule(object) or inspect.isclass(object) or return not (inspect.ismodule(object) or inspect.isclass(object) or
inspect.isroutine(object) or inspect.isframe(object) or inspect.isroutine(object) or inspect.isframe(object) or
inspect.istraceback(object) or inspect.iscode(object)) inspect.istraceback(object) or inspect.iscode(object))
......
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