diff options
author | Pablo Galindo Salgado <Pablogsal@gmail.com> | 2021-08-25 15:24:32 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-25 07:24:32 -0700 |
commit | 24da544014f78e6f1440d5ce5c2d14794a020340 (patch) | |
tree | 9f2dd662a313c14ac9ae001b5839c0926b2242dd /Lib/email/errors.py | |
parent | a3c11cebf174e0c822eda8c545f7548269ce7a25 (diff) | |
download | cpython-git-24da544014f78e6f1440d5ce5c2d14794a020340.tar.gz |
bpo-44929: [Enum] Fix global repr (GH-27789)
* Fix typo in __repr__ code
* Add more tests for global int flag reprs
* use last module if multi-module string
- when an enum's `__module__` contains several module names, only
use the last one
Co-authored-by: Ćukasz Langa <lukasz@langa.pl>
Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
Diffstat (limited to 'Lib/email/errors.py')
0 files changed, 0 insertions, 0 deletions