MCPcopy Index your code
hub / github.com/python/cpython / _C

Class _C

Lib/test/test_dis.py:39–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37TRACEBACK_CODE = get_tb().tb_frame.f_code
38
39class _C:
40 def __init__(self, x):
41 self.x = x == 1
42
43 @staticmethod
44 def sm(x):
45 x = x == 1
46
47 @classmethod
48 def cm(cls, x):
49 cls.x = x == 1
50
51dis_c_instance_method = """\
52%3d RESUME 0

Calls

no outgoing calls