You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-02 16:44:46 +08:00
Some PyPY 3.7 support
* Handle CALL_METHOD_KW * adjust PyPY 3.7 assert stmts * misc administrivia
This commit is contained in:
10
test/simple_source/bug_pypy37/01_callback.py
Normal file
10
test/simple_source/bug_pypy37/01_callback.py
Normal file
@@ -0,0 +1,10 @@
|
||||
"""This program is self-checking!"""
|
||||
|
||||
|
||||
def lcase(s):
|
||||
return s.lower()
|
||||
|
||||
|
||||
l = ["xyz", "ABC"]
|
||||
l.sort(key=lcase)
|
||||
assert l == ["ABC", "xyz"]
|
Reference in New Issue
Block a user