]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-149267: Document ast.Constant.kind attribute (GH-149268) (#149293)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 3 May 2026 16:04:14 +0000 (18:04 +0200)
committerGitHub <noreply@github.com>
Sun, 3 May 2026 16:04:14 +0000 (16:04 +0000)
commitb4b2e0cd7c788ddc4ec3b5614ff17c9549df4c40
treecc66da9f53f572c44597bfffc1ed06b0d71172ca
parent4ce6d8245329863922cfb300731f8361aa9f5b55
[3.14] gh-149267: Document ast.Constant.kind attribute (GH-149268) (#149293)

gh-149267: Document ast.Constant.kind attribute (GH-149268)

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>
Doc/library/ast.rst