Leading 0's syntax error in datetime.date module (Python 3.6)

Gregory Ewing greg.ewing at canterbury.ac.nz
Fri May 11 06:12:24 EDT 2018


Steven D'Aprano wrote:
> n for binary
> t for octal
> i for trinary
> o for duodecimal
>> and of course, x for hexadecimal.

And in format strings:
 "c" for decimal
 "a" for char
 "r" for string
 "w" for raw string
Looks fine to me. Who wants to write the PEP?
-- 
Greg


More information about the Python-list mailing list

AltStyle によって変換されたページ (->オリジナル) /