commit | c15a07333e712e682036d9ecb7230d25ccb1a85f | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Tue Aug 26 16:46:47 2008 +0000 |
committer | Benjamin Peterson <benjamin@python.org> | Tue Aug 26 16:46:47 2008 +0000 |
tree | 52eee04b10bc95047d25c9dd6b82ec9e48efeb97 | |
parent | a786b026c9992cee195b7a550bab2c70c50f874f [diff] |
make bytes(o) respect __bytes__ #2415 This adds two new C-API functions: PyObject_Bytes and PyBytes_FromObject. Reviewer: Barry