diff options
author | Gregory P. Smith <greg@mad-scientist.com> | 2008-03-15 06:05:36 +0000 |
---|---|---|
committer | Gregory P. Smith <greg@mad-scientist.com> | 2008-03-15 06:05:36 +0000 |
commit | 836dfb697be245afa8137d56f04f3f243a95838f (patch) | |
tree | 7f0b45273c646359721f0bc649887e324dba10d9 /Python/compile.c | |
parent | 92e9dc253f0cb2745fa896e058bc4372db204de1 (diff) | |
download | cpython-836dfb697be245afa8137d56f04f3f243a95838f.tar.gz |
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 'Python/compile.c')
0 files changed, 0 insertions, 0 deletions