]> granicus.if.org Git - python/commit
Fix an apparent typo. This test of the readonly boolean should have been != 0
authorGregory P. Smith <greg@mad-scientist.com>
Sat, 15 Mar 2008 06:05:36 +0000 (06:05 +0000)
committerGregory P. Smith <greg@mad-scientist.com>
Sat, 15 Mar 2008 06:05:36 +0000 (06:05 +0000)
commit462187540764e3bcc2324fb0d51315f5c28ed088
treeba7023c155501556bc14a876571b37b8af94ecd1
parentdeef67481c37965474b64c7e703982998c20a654
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.
Objects/abstract.c