summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2021-10-13 05:14:58 (GMT)
committerGitHub <noreply@github.com>2021-10-13 05:14:58 (GMT)
commit380c44087505d0d560f97e325028f27393551164 (patch)
treee1bad5f428c3cf76f1d44b5bfc92738da4b7d8c1 /Misc
parent678433f25e0d08dad7edf72be8f0cf9420e4ed2c (diff)
downloadcpython-380c44087505d0d560f97e325028f27393551164.zip
cpython-380c44087505d0d560f97e325028f27393551164.tar.gz
cpython-380c44087505d0d560f97e325028f27393551164.tar.bz2
bpo-20692: Add Programming FAQ entry for 1.__class__ error. (GH-28918)
To avoid error, add either space or parentheses.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Documentation/2021-10-13-00-42-54.bpo-20692.K5rGtP.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Documentation/2021-10-13-00-42-54.bpo-20692.K5rGtP.rst b/Misc/NEWS.d/next/Documentation/2021-10-13-00-42-54.bpo-20692.K5rGtP.rst
new file mode 100644
index 0000000..44ae468
--- /dev/null
+++ b/Misc/NEWS.d/next/Documentation/2021-10-13-00-42-54.bpo-20692.K5rGtP.rst
@@ -0,0 +1,2 @@
+Add Programming FAQ entry explaining that int literal attribute access
+requires either a space after or parentheses around the literal.