Commit graph

2 commits

Author SHA1 Message Date
Benjamin Peterson
c15a07333e make bytes(o) respect __bytes__ #2415
This adds two new C-API functions: PyObject_Bytes and PyBytes_FromObject.

Reviewer: Barry
2008-08-26 16:46:47 +00:00
Benjamin Peterson
dae32c196a update docs after renaming of PyString -> PyBytes 2008-05-26 15:01:55 +00:00