[Python-ideas] New __reference__ hook
random832 at fastmail.us
random832 at fastmail.us
Wed Dec 5 17:06:28 CET 2012
More information about the Python-ideas mailing list
Wed Dec 5 17:06:28 CET 2012
- Previous message: [Python-ideas] New __reference__ hook
- Next message: [Python-ideas] New __reference__ hook
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Wed, Dec 5, 2012, at 9:10, Mike Graham wrote: > I don't know what problem you had defining MyInteger. Here is a definition (albeit comprised of very, very sloppy code) that passes your test Most likely he thought he had to define __iadd__ for += to work.
- Previous message: [Python-ideas] New __reference__ hook
- Next message: [Python-ideas] New __reference__ hook
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-ideas mailing list