diff options
author | Alexander Böhn <fish2000@users.noreply.github.com> | 2021-09-22 20:45:58 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-22 20:45:58 (GMT) |
commit | 8c21941ddafdf4925170f9cea22e2382dd3b0184 (patch) | |
tree | de17f630fb0338032c63086f6bead3ca00830d14 /Misc/NEWS.d/next | |
parent | 36122e18148c5b6c78ebce1d36d514fd7cf250f5 (diff) | |
download | cpython-8c21941ddafdf4925170f9cea22e2382dd3b0184.zip cpython-8c21941ddafdf4925170f9cea22e2382dd3b0184.tar.gz cpython-8c21941ddafdf4925170f9cea22e2382dd3b0184.tar.bz2 |
bpo-39549: reprlib.Repr uses a “fillvalue” attribute (GH-18343)
Diffstat (limited to 'Misc/NEWS.d/next')
-rw-r--r-- | Misc/NEWS.d/next/Library/2020-02-03-21-18-31.bpo-39549.l4a8uH.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2020-02-03-21-18-31.bpo-39549.l4a8uH.rst b/Misc/NEWS.d/next/Library/2020-02-03-21-18-31.bpo-39549.l4a8uH.rst new file mode 100644 index 0000000..91d63a9 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2020-02-03-21-18-31.bpo-39549.l4a8uH.rst @@ -0,0 +1,4 @@ +Whereas the code for reprlib.Repr had previously used a hardcoded string +value of '...', this PR updates it to use of a “fillvalue” attribute, whose +value defaults to '...' and can be reset in either individual reprlib.Repr +instances or in subclasses thereof. |