You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
11 lines
305 B
Python
11 lines
305 B
Python
# Python 3 annotations
|
|
|
|
def foo(a, b: 'annotating b', c: int) -> float:
|
|
print(a + b + c)
|
|
|
|
# Python 3.1 _pyio.py uses the -> "IOBase" annotation
|
|
def open(file, mode = "r", buffering = None,
|
|
encoding = None, errors = None,
|
|
newline = None, closefd = True) -> "IOBase":
|
|
return text
|