diff options
author | Momo Eissenhauer <mmEissen@users.noreply.github.com> | 2024-05-07 11:42:18 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-07 11:42:18 (GMT) |
commit | 48e52fe2c9a7b33671f6b5d1420a71a6f31ad64b (patch) | |
tree | d814a257458cf2c2fde01bd5f7f54c33aca2b70b /Doc/c-api | |
parent | 44a9f3db2b40ba41999002799a74e6b6f2a3a50a (diff) | |
download | cpython-48e52fe2c9a7b33671f6b5d1420a71a6f31ad64b.zip cpython-48e52fe2c9a7b33671f6b5d1420a71a6f31ad64b.tar.gz cpython-48e52fe2c9a7b33671f6b5d1420a71a6f31ad64b.tar.bz2 |
gh-118310: Fix documentation for `enum.Enum.__new__` (GH-118311)
The provided example was incorrect:
- The example enum was missing the `int` mixin as implied by the context
- The value of `int('1a', 16)` was incorrectly given as 17
(should be 26)
Diffstat (limited to 'Doc/c-api')
0 files changed, 0 insertions, 0 deletions