summaryrefslogtreecommitdiffstats
path: root/Lib/mailbox.py
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1997-04-03 14:51:03 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1997-04-03 14:51:03 (GMT)
commitf73bab7f9665beacb0bd95c068129448a833fe2c (patch)
treeca81394fc60c73424bb2407f8e3b2fafbd5cba3d /Lib/mailbox.py
parent377df98005862e587939b42f135bd653130e7913 (diff)
downloadcpython-f73bab7f9665beacb0bd95c068129448a833fe2c.zip
cpython-f73bab7f9665beacb0bd95c068129448a833fe2c.tar.gz
cpython-f73bab7f9665beacb0bd95c068129448a833fe2c.tar.bz2
Added an attribute string_id_to_buffer, which gives the offset you
have to add to the id() of a string to get the address of the data. This is a horrible and error-prone hack, but unfortunately it is one that is needed for playing audio and crearing pixmaps. Having the constant here is at least marginally better than the previous practice of having the constant 16 all over the place...
Diffstat (limited to 'Lib/mailbox.py')
0 files changed, 0 insertions, 0 deletions