Skip to content

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

Merged
JelleZijlstra merged 1 commit intopython:3.13from
miss-islington:backport-3a1df78-3.13
May 2, 2026
Merged

[3.13] gh-149267: Document ast.Constant.kind attribute (GH-149268)#149294
JelleZijlstra merged 1 commit intopython:3.13from
miss-islington:backport-3a1df78-3.13

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>
@bedevere-app bedevere-app Bot added docs Documentation in the Doc dir skip news labels May 2, 2026
@github-project-automation github-project-automation Bot moved this to Todo in Docs PRs May 2, 2026
@JelleZijlstra JelleZijlstra enabled auto-merge (squash) May 2, 2026 16:56
@JelleZijlstra JelleZijlstra merged commit e961c00 into python:3.13 May 2, 2026
28 of 29 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in Docs PRs May 2, 2026
@miss-islington miss-islington deleted the backport-3a1df78-3.13 branch May 2, 2026 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip news

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants