mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-06 12:14:27 +08:00
Adds posonlyargs property to arguments for python3.8+ (#3390)
This commit is contained in:
committed by
Sebastian Rittau
parent
3fbebc78cb
commit
2b9dc7b9c2
@@ -389,6 +389,8 @@ class ExceptHandler(excepthandler):
|
||||
|
||||
|
||||
class arguments(AST):
|
||||
if sys.version_info >= (3, 8):
|
||||
posonlyargs: typing.List[arg]
|
||||
args: typing.List[arg]
|
||||
vararg: Optional[arg]
|
||||
kwonlyargs: typing.List[arg]
|
||||
|
||||
Reference in New Issue
Block a user