[Python-Dev] format, int, and IntEnum (original) (raw)
Ethan Furman ethan at stoneleaf.us
Thu Aug 15 17:21:46 CEST 2013
- Previous message: [Python-Dev] format, int, and IntEnum
- Next message: [Python-Dev] format, int, and IntEnum
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Given that the !r and !s format codes can be used to get the repr and str of an IntEnum, would it be acceptable to have IntEnum's format simply pass through to int's format? And likewise with all mix-in classes?
--
Ethan
- Previous message: [Python-Dev] format, int, and IntEnum
- Next message: [Python-Dev] format, int, and IntEnum
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]