diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2023-04-24 14:23:08 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-24 14:23:08 (GMT) |
commit | 543009347e7cfcc495ca8553fab8d622dcfd18e3 (patch) | |
tree | 6ca45ebf28af6adee5c85b707b21c8f18ad57a91 /Doc/extending | |
parent | 59c522f9650c22dc986debce483b83a4ffc6dc0d (diff) | |
download | cpython-543009347e7cfcc495ca8553fab8d622dcfd18e3.zip cpython-543009347e7cfcc495ca8553fab8d622dcfd18e3.tar.gz cpython-543009347e7cfcc495ca8553fab8d622dcfd18e3.tar.bz2 |
gh-103712: Increase the length of the type name in AttributeError messages (#103713)
Diffstat (limited to 'Doc/extending')
-rw-r--r-- | Doc/extending/newtypes.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/extending/newtypes.rst b/Doc/extending/newtypes.rst index 80a1387..56b40ac 100644 --- a/Doc/extending/newtypes.rst +++ b/Doc/extending/newtypes.rst @@ -337,7 +337,7 @@ Here is an example:: } PyErr_Format(PyExc_AttributeError, - "'%.50s' object has no attribute '%.400s'", + "'%.100s' object has no attribute '%.400s'", tp->tp_name, name); return NULL; } |