Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
9270fe7f
Commit
9270fe7f
authored
Mar 23, 2016
by
Victor Stinner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typo in doc: avoid the french "& cie" :-)
parent
95849640
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
Doc/c-api/memory.rst
Doc/c-api/memory.rst
+1
-1
Doc/using/cmdline.rst
Doc/using/cmdline.rst
+4
-4
No files found.
Doc/c-api/memory.rst
View file @
9270fe7f
...
...
@@ -378,7 +378,7 @@ with a fixed size of 256 KB. It falls back to :c:func:`PyMem_RawMalloc` and
:c:func:`PyMem_RawRealloc` for allocations larger than 512 bytes.
*pymalloc* is the default allocator of the :c:data:`PYMEM_DOMAIN_OBJ` domain
(
:c:func:`PyObject_Malloc` & cie
).
(
ex: :c:func:`PyObject_Malloc`
).
The arena allocator uses the following functions:
...
...
Doc/using/cmdline.rst
View file @
9270fe7f
...
...
@@ -628,12 +628,12 @@ conflict.
Set the family of memory allocators used by Python:
* ``malloc``: use the :c:func:`malloc` function of the C library
for all Python memory allocators (:c:func:`PyMem_RawMalloc`,
:c:func:`PyMem_Malloc`
, :c:func:`PyObject_Malloc` & cie
).
for all Python memory allocators (
ex:
:c:func:`PyMem_RawMalloc`,
:c:func:`PyMem_Malloc`
and :c:func:`PyObject_Malloc`
).
* ``pymalloc``: :c:func:`PyObject_Malloc`, :c:func:`PyObject_Calloc` and
:c:func:`PyObject_Realloc` use the :ref:`pymalloc allocator <pymalloc>`.
Other Python memory allocators (
:c:func:`PyMem_RawMalloc`,
:c:func:`PyMem_Malloc`
& cie
) use :c:func:`malloc`.
Other Python memory allocators (
ex: :c:func:`PyMem_RawMalloc` and
:c:func:`PyMem_Malloc`) use :c:func:`malloc`.
Install debug hooks:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment