Files
Pyarmor-Static-Unpack-1shot/tests/tokenized/test_class_method_py3.txt
Michael Hansen 8eb18de269 Update tests to show that #39 is resolved, and add dummy support for
STORE_LOCALS used in Python 3.0-3.3.

Closes #39
Closes #63
2020-10-22 09:06:57 -07:00

16 lines
243 B
Plaintext

class MyClass : <EOL>
<INDENT>
def method ( self , i ) : <EOL>
<INDENT>
if i is 5 : <EOL>
<INDENT>
print ( 'five' ) <EOL>
<OUTDENT>
elif i is not 2 : <EOL>
<INDENT>
print ( 'not two' ) <EOL>
<OUTDENT>
else : <EOL>
<INDENT>
print ( '2' ) <EOL>