[Python-Dev] PEP 461 - Adding % and {} formatting to bytes (original) (raw)
Eric V. Smith eric at trueblade.com
Thu Jan 16 20:28:57 CET 2014
- Previous message: [Python-Dev] PEP 461 - Adding % and {} formatting to bytes
- Next message: [Python-Dev] PEP 461 - Adding % and {} formatting to bytes
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 01/16/2014 01:55 PM, Ethan Furman wrote:
"Magic" methods, including format, are called on the type, not the instance. Yes, that's why I said
myNum(17)
and notmyNum
.
Oops, apologies. I misread the code.
Eric.
- Previous message: [Python-Dev] PEP 461 - Adding % and {} formatting to bytes
- Next message: [Python-Dev] PEP 461 - Adding % and {} formatting to bytes
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]