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>
* [3.9] More minor fixes to C API docs (GH-31714) (GH-32260)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. (cherry picked from commit 677a87946630c5fbd9998969669b4dd4f4b32545) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
* bpo-42528: Improve the docs of most Py*_Check{,Exact} API calls (GH-23602) ↵Miss Islington (bot)2021-01-061-2/+2
| | | | | | | | | | | | (GH-24139) 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. (cherry picked from commit 315fc52db17b19fe30aa9193f26adf69e18d8844) Co-authored-by: Antonio Cuni <anto.cuni@gmail.com> Co-authored-by: Antonio Cuni <anto.cuni@gmail.com>
* 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