mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
PEP 3107 - Function Annotations thanks to Tony Lownds
This commit is contained in:
parent
f6657e67b3
commit
c150536b5e
32 changed files with 2855 additions and 1897 deletions
|
@ -176,3 +176,6 @@ x = sys.modules['time'].time()
|
|||
@staticmethod
|
||||
def foo(): pass
|
||||
|
||||
@staticmethod
|
||||
def foo(x:1)->1: pass
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue