diff options
author | Gregory P. Smith <greg@mad-scientist.com> | 2008-03-15 06:05:36 (GMT) |
---|---|---|
committer | Gregory P. Smith <greg@mad-scientist.com> | 2008-03-15 06:05:36 (GMT) |
commit | 462187540764e3bcc2324fb0d51315f5c28ed088 (patch) | |
tree | ba7023c155501556bc14a876571b37b8af94ecd1 /Lib/test/test_tokenize.py | |
parent | deef67481c37965474b64c7e703982998c20a654 (diff) | |
download | cpython-462187540764e3bcc2324fb0d51315f5c28ed088.zip cpython-462187540764e3bcc2324fb0d51315f5c28ed088.tar.gz cpython-462187540764e3bcc2324fb0d51315f5c28ed088.tar.bz2 |
Fix an apparent typo. This test of the readonly boolean should have been != 0
rather than >= 0. This change means the PyBUF_LOCK flag to the buffer api
works on immutable bytes objects as one would expect.
Diffstat (limited to 'Lib/test/test_tokenize.py')
0 files changed, 0 insertions, 0 deletions