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.
G
Gregory P. Smith committed
462187540764e3bcc2324fb0d51315f5c28ed088
Parent: deef674