mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
Issue #26304: Merge doc wording from 3.5
This commit is contained in:
commit
3008b1c4bb
25 changed files with 76 additions and 76 deletions
|
@ -30,7 +30,7 @@ variable(s) whose address should be passed.
|
|||
Strings and buffers
|
||||
-------------------
|
||||
|
||||
These formats allow to access an object as a contiguous chunk of memory.
|
||||
These formats allow accessing an object as a contiguous chunk of memory.
|
||||
You don't have to provide raw storage for the returned unicode or bytes
|
||||
area. Also, you won't have to release any memory yourself, except with the
|
||||
``es``, ``es#``, ``et`` and ``et#`` formats.
|
||||
|
|
|
@ -40,7 +40,7 @@ There are a few functions specific to Python functions.
|
|||
|
||||
.. c:function:: PyObject* PyFunction_NewWithQualName(PyObject *code, PyObject *globals, PyObject *qualname)
|
||||
|
||||
As :c:func:`PyFunction_New`, but also allows to set the function object's
|
||||
As :c:func:`PyFunction_New`, but also allows setting the function object's
|
||||
``__qualname__`` attribute. *qualname* should be a unicode object or NULL;
|
||||
if NULL, the ``__qualname__`` attribute is set to the same value as its
|
||||
``__name__`` attribute.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue