src/reportlab/graphics/samples/runall.py
changeset 4709 1dcf7b3f7127
parent 3794 398ea04239b5
equal deleted inserted replaced
4708:cdb9ddeac15a 4709:1dcf7b3f7127
     1 # runs all the GUIedit charts in this directory -
     1 # runs all the GUIedit charts in this directory -
     2 # makes a PDF sample for eaxh existing chart type
     2 # makes a PDF sample for eaxh existing chart type
     3 import sys
     3 import sys
     4 import glob
     4 import glob
     5 import inspect
     5 import inspect
     6 import types
       
     7 
     6 
     8 def moduleClasses(mod):
     7 def moduleClasses(mod):
     9     def P(obj, m=mod.__name__, CT=type):
     8     def P(obj, m=mod.__name__, CT=type):
    10         return (type(obj)==CT and obj.__module__==m)
     9         return (type(obj)==CT and obj.__module__==m)
    11     try:
    10     try: