GIF89;aGIF89;aGIF89;a
Team Anon Force
https://t.me/Professor6T9x
Professor6T9 Web SheLL
Linux s2.soul-hosting.hu 5.10.0-35-amd64 #1 SMP Debian 5.10.237-1 (2025-05-19) x86_64
Apache
173.212.232.101
/
opt
/
plesk
/
python
/
2.7
/
lib
/
python2.7
/
test
[ HOME ]
Exec
Submit
File Name : test_code.pyc
� 5}�ac @ s� d Z d d l Z d d l Z d d l m Z m Z m Z d � Z d � Z d e j f d � � YZ d � Z d e j f d � � YZ d e j f d � � YZ d d � Z e d k r� e � n d S( s� This module includes tests of the code object representation. >>> def f(x): ... def g(y): ... return x + y ... return g ... >>> dump(f.func_code) name: f argcount: 1 names: () varnames: ('x', 'g') cellvars: ('x',) freevars: () nlocals: 2 flags: 3 consts: ('None', '<code object g>') >>> dump(f(4).func_code) name: g argcount: 1 names: () varnames: ('y',) cellvars: () freevars: ('x',) nlocals: 1 flags: 19 consts: ('None',) >>> def h(x, y): ... a = x + y ... b = x - y ... c = a * b ... return c ... >>> dump(h.func_code) name: h argcount: 2 names: () varnames: ('x', 'y', 'a', 'b', 'c') cellvars: () freevars: () nlocals: 5 flags: 67 consts: ('None',) >>> def attrs(obj): ... print obj.attr1 ... print obj.attr2 ... print obj.attr3 >>> dump(attrs.func_code) name: attrs argcount: 1 names: ('attr1', 'attr2', 'attr3') varnames: ('obj',) cellvars: () freevars: () nlocals: 1 flags: 67 consts: ('None',) >>> def optimize_away(): ... 'doc string' ... 'not a docstring' ... 53 ... 53L >>> dump(optimize_away.func_code) name: optimize_away argcount: 0 names: () varnames: () cellvars: () freevars: () nlocals: 0 flags: 67 consts: ("'doc string'", 'None') i����N( t run_doctestt run_unittestt cpython_onlyc c sD x= | D]5 } t | � } | j d � r7 d | j Vq | Vq Wd S( s. Yield a doctest-safe sequence of object reprs.s <code objects <code object %s>N( t reprt startswitht co_name( t tt eltt r( ( s5 /opt/plesk/python/2.7/lib/python2.7/test/test_code.pyt constsX s c C sa xB d d d d d d d d g D]"