summaryrefslogtreecommitdiffstats
path: root/Doc/c-api/bytes.rst
Commit message (Collapse)AuthorAgeFilesLines
* Document Py_ssize_t. (GH-92512)Miss Islington (bot)2022-05-131-2/+2
| | | | | | | | | It fixes 252 errors from a Sphinx nitpicky run (sphinx-build -n). But there's 8182 errors left. Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> (cherry picked from commit 664aa94b570a4a8f3535efb2e3d638a4ab655943) Co-authored-by: Julien Palard <julien@palard.fr>
* gh-89653: PEP 670: Convert PyBytes macros to functions (#91990)Victor Stinner2022-05-031-2/+2
| | | | | | | | | | | | Convert the following macros to static inline functions: * PyByteArray_AS_STRING() * PyByteArray_GET_SIZE() * PyBytes_AS_STRING() * PyBytes_GET_SIZE() Limited C API version 3.11 no longer casts arguments. Add _PyBytes_CAST() and _PyByteArray_CAST() macros.
* More minor fixes to C API docs (GH-31714)Jelle Zijlstra2022-04-021-1/+1
| | | | | | | * init_config: wording fixes * bytearray: remove XXX, there is a good link to the buffer docs * bytes, call, exceptions: minor wording fixes
* bpo-42528: Improve the docs of most Py*_Check{,Exact} API calls (GH-23602)Antonio Cuni2021-01-061-2/+2
| | | | | I think that none of these API calls can fail, but only few of them are documented as such. Add the sentence "This function always succeeds" (which is the same already used e.g. by PyNumber_Check) to all of them.
* bpo-38600: Change the mark up of NULL in the C API documentation. (GH-16950)Serhiy Storchaka2019-10-301-6/+6
| | | | Replace all *NULL* with ``NULL``.
* Doc: Replace the deprecated highlightlang directive by highlight. (#13377)Stéphane Wirtel2019-05-171-1/+1
| | | | highlightlang is deprecated since April 2018 in Sphinx. See https://github.com/sphinx-doc/sphinx/pull/4845
* bpo-28415: Note 0 conversion different between Python and C (#885)Louie Lu2017-04-271-16/+19
|
* bpo-29918: Add missed "const" modifiers in C API documentation. (#846)Serhiy Storchaka2017-03-301-2/+2
|
* Issue #25270: Prevent codecs.escape_encode() from raising SystemError when ↵Berker Peksag2016-09-161-1/+1
| | | | an empty bytestring is passed
* Issue #27481: Docummented that ValueError is now raised instead of TypeErrorSerhiy Storchaka2016-07-121-1/+5
| | | | in case of embedded null characters/bytes. Patch by Xiang Zhang.
* #23088: Clarify null termination of bytes and strings in C API.R David Murray2015-05-141-14/+18
| | | | Patch by Martin Panter, reviewed by Serhiy Storchaka and R. David Murray.
* Closes #4159: add LaTeX tabular column specifications to tables that ↵Georg Brandl2013-03-281-0/+2
| | | | otherwise are cut off or have overlapping text.
* #9204: remove mentions of removed types in the types module.Georg Brandl2010-10-171-3/+1
|
* Migrate to Sphinx 1.0 C language constructs.Georg Brandl2010-10-061-25/+25
|
* Replace :func: by :cfunc:Victor Stinner2010-08-171-1/+1
| | | | To get links to the C functions
* remove docs for PyBytes_Format #4917Benjamin Peterson2009-01-121-6/+0
|
* make bytes(o) respect __bytes__ #2415Benjamin Peterson2008-08-261-0/+6
| | | | | | This adds two new C-API functions: PyObject_Bytes and PyBytes_FromObject. Reviewer: Barry
* update docs after renaming of PyString -> PyBytesBenjamin Peterson2008-05-261-0/+194