diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 1997-04-03 14:51:03 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 1997-04-03 14:51:03 (GMT) |
commit | f73bab7f9665beacb0bd95c068129448a833fe2c (patch) | |
tree | ca81394fc60c73424bb2407f8e3b2fafbd5cba3d /Demo/scripts/markov.py | |
parent | 377df98005862e587939b42f135bd653130e7913 (diff) | |
download | cpython-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 'Demo/scripts/markov.py')
0 files changed, 0 insertions, 0 deletions