Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit45da743

Browse files
[3.8]bpo-33416: Document changes in PyNode_AddChild and PyParser_AddToken (GH-14214) (GH-14215)
I didn't find any entries in the docs about these functions, so I just mentioned them, in "What's New".(cherry picked from commit47c2de7)Co-authored-by: Ivan Levkivskyi <levkivskyi@gmail.com>https://bugs.python.org/issue33416
1 parentb626b11 commit45da743

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎Doc/whatsnew/3.8.rst‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1454,6 +1454,8 @@ Changes in the C API
14541454
* The:c:func:`PyCode_New` has a new parameter in the second position (*posonlyargcount*)
14551455
to support:pep:`570`, indicating the number of positional-only arguments.
14561456

1457+
* The functions:c:func:`PyNode_AddChild` and:c:func:`PyParser_AddToken` now accept
1458+
two additional ``int`` arguments *end_lineno* and *end_col_offset*.
14571459

14581460
CPython bytecode changes
14591461
------------------------

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp