diff options
author | Benjamin Peterson <benjamin@python.org> | 2008-08-26 16:46:47 +0000 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2008-08-26 16:46:47 +0000 |
commit | 3493fa51f1cc375dbe652c265d68dcab45b287cd (patch) | |
tree | 4685a74fbb69697492d1cc4e88a8d07c1b7c6bf7 /Python/pythonrun.c | |
parent | 69f3229bdea786c4dcb8c53030f91f9b2e4299f3 (diff) | |
download | cpython-3493fa51f1cc375dbe652c265d68dcab45b287cd.tar.gz |
make bytes(o) respect __bytes__ #2415
This adds two new C-API functions: PyObject_Bytes and PyBytes_FromObject.
Reviewer: Barry
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions