Skip to content

[3.14] gh-149267: Document ast.Constant.kind attribute (GH-149268)#149293

Open
miss-islington wants to merge 1 commit intopython:3.14from
miss-islington:backport-3a1df78-3.14
Open

[3.14] gh-149267: Document ast.Constant.kind attribute (GH-149268)#149293
miss-islington wants to merge 1 commit intopython:3.14from
miss-islington:backport-3a1df78-3.14

Conversation

@miss-islington
Copy link
Copy Markdown
Contributor

@miss-islington miss-islington commented May 2, 2026

The kind attribute of ast.Constant was not mentioned in the
documentation. It is set to 'u' for u-prefixed string literals
and None for all other constants.


(cherry picked from commit 3a1df78)

Co-authored-by: Anuj Nitin Bharambe 119653366+anujbharambe@users.noreply.github.com
Co-authored-by: Anuj Bharambe anujnitinb@gmail.com

The kind attribute of ast.Constant was not mentioned in the
documentation. It is set to 'u' for u-prefixed string literals
and None for all other constants.

---------
(cherry picked from commit 3a1df787e1e630d3d57e99226604ddceb8c47229)

Co-authored-by: Anuj Nitin Bharambe <119653366+anujbharambe@users.noreply.github.com>
Co-authored-by: Anuj Bharambe <anujnitinb@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting review docs Documentation in the Doc dir skip news

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

2 participants