*Not documented*
def makeitem(self, name, obj, usefilters=True):
origin: PyCollectorMixin
where:
function source:
def makeitem(self, name, obj, usefilters=True):
if (not usefilters or self.classnamefilter(name)) and isclass(obj):
return self.Class(name, parent=self)
elif (not usefilters or self.funcnamefilter(name)) and callable(obj):
if obj.func_code.co_flags & 32: # generator function
return self.Generator(name, parent=self)
else:
return self.Function(name, parent=self)
called in /home/johnny/projects/merlinux/py/dist/py/test/collect.py
traceback test.collect.Module.makeitem.0
called in /home/johnny/projects/merlinux/py/dist/py/test/collect.py
traceback test.collect.Module.makeitem.1
called in /home/johnny/projects/merlinux/py/dist/py/test/collect.py
traceback test.collect.Module.makeitem.2
called in /home/johnny/projects/merlinux/py/dist/py/test/collect.py
traceback test.collect.Module.makeitem.3
called in /home/johnny/projects/merlinux/py/dist/py/test/collect.py
traceback test.collect.Module.makeitem.4
called in /home/johnny/projects/merlinux/py/dist/py/test/collect.py
traceback test.collect.Module.makeitem.5
called in /home/johnny/projects/merlinux/py/dist/py/test/collect.py
traceback test.collect.Module.makeitem.6
called in /home/johnny/projects/merlinux/py/dist/py/test/collect.py
traceback test.collect.Module.makeitem.7
called in /home/johnny/projects/merlinux/py/dist/py/test/collect.py
traceback test.collect.Module.makeitem.8
called in /home/johnny/projects/merlinux/py/dist/py/test/collect.py
traceback test.collect.Module.makeitem.9
called in /home/johnny/projects/merlinux/py/dist/py/test/collect.py
traceback test.collect.Module.makeitem.10
called in /home/johnny/projects/merlinux/py/dist/py/test/collect.py
traceback test.collect.Module.makeitem.11
called in /home/johnny/projects/merlinux/py/dist/py/test/collect.py
traceback test.collect.Module.makeitem.12
called in /home/johnny/projects/merlinux/py/dist/py/test/collect.py
traceback test.collect.Module.makeitem.13
called in /home/johnny/projects/merlinux/py/dist/py/test/collect.py
traceback test.collect.Module.makeitem.14
called in /home/johnny/projects/merlinux/py/dist/py/test/collect.py
traceback test.collect.Module.makeitem.15
called in /home/johnny/projects/merlinux/py/dist/py/test/collect.py
traceback test.collect.Module.makeitem.16
called in /home/johnny/projects/merlinux/py/dist/py/test/collect.py
traceback test.collect.Module.makeitem.17
called in /home/johnny/projects/merlinux/py/dist/py/test/collect.py
traceback test.collect.Module.makeitem.18
called in /home/johnny/projects/merlinux/py/dist/py/test/collect.py
traceback test.collect.Module.makeitem.19
called in /home/johnny/projects/merlinux/py/dist/py/test/collect.py