That was one too much.

This commit is contained in:
Georg Brandl 2005-07-22 21:52:25 +00:00
parent 7eb4b7d177
commit 9443242463
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ def classname(object, modname):
return name
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
inspect.isroutine(object) or inspect.isframe(object) or
inspect.istraceback(object) or inspect.iscode(object))