mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Improve pyrepl
type-annotation coverage (#119081)
This commit is contained in:
parent
100c7ab00a
commit
033f5c87f1
6 changed files with 31 additions and 14 deletions
|
@ -187,7 +187,7 @@ def _parse_key1(key, s):
|
|||
return ret, s
|
||||
|
||||
|
||||
def parse_keys(key):
|
||||
def parse_keys(key: str) -> list[str]:
|
||||
s = 0
|
||||
r = []
|
||||
while s < len(key):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue