123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178 |
- Module(body=[ClassDef(name='A',
- bases=[],
- body=[FunctionDef(name='__len__',
- args=arguments(args=[Name(id='self',
- ctx=Param())],
- vararg=None,
- kwarg=None,
- defaults=[]),
- body=[Return(value=Num(n=0))],
- decorator_list=[])],
- decorator_list=[]),
- Print(dest=None,
- values=[Call(func=Name(id='bool',
- ctx=Load()),
- args=[Call(func=Name(id='A',
- ctx=Load()),
- args=[],
- keywords=[],
- starargs=None,
- kwargs=None)],
- keywords=[],
- starargs=None,
- kwargs=None)],
- nl=True),
- ClassDef(name='B',
- bases=[],
- body=[FunctionDef(name='__len__',
- args=arguments(args=[Name(id='self',
- ctx=Param())],
- vararg=None,
- kwarg=None,
- defaults=[]),
- body=[Return(value=Name(id='False',
- ctx=Load()))],
- decorator_list=[])],
- decorator_list=[]),
- Print(dest=None,
- values=[Call(func=Name(id='bool',
- ctx=Load()),
- args=[Call(func=Name(id='B',
- ctx=Load()),
- args=[],
- keywords=[],
- starargs=None,
- kwargs=None)],
- keywords=[],
- starargs=None,
- kwargs=None)],
- nl=True),
- ClassDef(name='C',
- bases=[],
- body=[FunctionDef(name='__nonzero__',
- args=arguments(args=[Name(id='self',
- ctx=Param())],
- vararg=None,
- kwarg=None,
- defaults=[]),
- body=[Return(value=Num(n=0))],
- decorator_list=[])],
- decorator_list=[]),
- Print(dest=None,
- values=[Call(func=Name(id='bool',
- ctx=Load()),
- args=[Call(func=Name(id='C',
- ctx=Load()),
- args=[],
- keywords=[],
- starargs=None,
- kwargs=None)],
- keywords=[],
- starargs=None,
- kwargs=None)],
- nl=True),
- ClassDef(name='D',
- bases=[],
- body=[FunctionDef(name='__nonzero__',
- args=arguments(args=[Name(id='self',
- ctx=Param())],
- vararg=None,
- kwarg=None,
- defaults=[]),
- body=[Return(value=Name(id='False',
- ctx=Load()))],
- decorator_list=[])],
- decorator_list=[]),
- Print(dest=None,
- values=[Call(func=Name(id='bool',
- ctx=Load()),
- args=[Call(func=Name(id='D',
- ctx=Load()),
- args=[],
- keywords=[],
- starargs=None,
- kwargs=None)],
- keywords=[],
- starargs=None,
- kwargs=None)],
- nl=True),
- ClassDef(name='E',
- bases=[],
- body=[FunctionDef(name='__len__',
- args=arguments(args=[Name(id='self',
- ctx=Param())],
- vararg=None,
- kwarg=None,
- defaults=[]),
- body=[Return(value=Num(n=1))],
- decorator_list=[])],
- decorator_list=[]),
- Print(dest=None,
- values=[Call(func=Name(id='bool',
- ctx=Load()),
- args=[Call(func=Name(id='E',
- ctx=Load()),
- args=[],
- keywords=[],
- starargs=None,
- kwargs=None)],
- keywords=[],
- starargs=None,
- kwargs=None)],
- nl=True),
- ClassDef(name='F',
- bases=[],
- body=[FunctionDef(name='__nonzero__',
- args=arguments(args=[Name(id='self',
- ctx=Param())],
- vararg=None,
- kwarg=None,
- defaults=[]),
- body=[Return(value=Num(n=1))],
- decorator_list=[])],
- decorator_list=[]),
- Print(dest=None,
- values=[Call(func=Name(id='bool',
- ctx=Load()),
- args=[Call(func=Name(id='F',
- ctx=Load()),
- args=[],
- keywords=[],
- starargs=None,
- kwargs=None)],
- keywords=[],
- starargs=None,
- kwargs=None)],
- nl=True),
- ClassDef(name='G',
- bases=[],
- body=[FunctionDef(name='__nonzero__',
- args=arguments(args=[Name(id='self',
- ctx=Param())],
- vararg=None,
- kwarg=None,
- defaults=[]),
- body=[Return(value=Num(n=0))],
- decorator_list=[]),
- FunctionDef(name='__len__',
- args=arguments(args=[Name(id='self',
- ctx=Param())],
- vararg=None,
- kwarg=None,
- defaults=[]),
- body=[Return(value=Num(n=1))],
- decorator_list=[])],
- decorator_list=[]),
- Print(dest=None,
- values=[Call(func=Name(id='bool',
- ctx=Load()),
- args=[Call(func=Name(id='G',
- ctx=Load()),
- args=[],
- keywords=[],
- starargs=None,
- kwargs=None)],
- keywords=[],
- starargs=None,
- kwargs=None)],
- nl=True)])
|