mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
gh-104656: Rename typeparams AST node to type_params (#104657)
This commit is contained in:
parent
ef5d00a592
commit
a5f244d627
14 changed files with 290 additions and 287 deletions
|
|
@ -1724,7 +1724,7 @@ Function and class definitions
|
|||
body=[
|
||||
FunctionDef(
|
||||
name='f',
|
||||
typeparams=[],
|
||||
type_params=[],
|
||||
args=arguments(
|
||||
posonlyargs=[],
|
||||
args=[
|
||||
|
|
@ -1848,7 +1848,7 @@ Function and class definitions
|
|||
body=[
|
||||
ClassDef(
|
||||
name='Foo',
|
||||
typeparams=[],
|
||||
type_params=[],
|
||||
bases=[
|
||||
Name(id='base1', ctx=Load()),
|
||||
Name(id='base2', ctx=Load())],
|
||||
|
|
@ -1887,7 +1887,7 @@ Async and await
|
|||
body=[
|
||||
AsyncFunctionDef(
|
||||
name='f',
|
||||
typeparams=[],
|
||||
type_params=[],
|
||||
args=arguments(
|
||||
posonlyargs=[],
|
||||
args=[],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue