]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Given that ord() of a bytes object of length 1 is defined, it should
authorGuido van Rossum <guido@python.org>
Tue, 8 May 2007 21:05:48 +0000 (21:05 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 8 May 2007 21:05:48 +0000 (21:05 +0000)
commitf9e91c9c58de72afdf51f2a6ebfe50e98beeaa78
treef2dd45d9585bc92e27c45e345fae3e906e3f2204
parent2b08b38deacc065b4fea8421528de1eed66d56b0
Given that ord() of a bytes object of length 1 is defined, it should
never return a negative number.
Lib/test/test_builtin.py
Lib/test/test_bytes.py
Python/bltinmodule.c