summaryrefslogtreecommitdiffstats
path: root/Modules/_tracemalloc.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2013-11-26 09:46:06 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2013-11-26 09:46:06 (GMT)
commit59463d8340731e228bad77893d840cf43e52b98e (patch)
tree4543df5847ef5e63596566cc4e8bc714b10cdf0c /Modules/_tracemalloc.c
parent802a484e2482c72a62dc2daeb9dc8e8ebbf1a000 (diff)
downloadcpython-59463d8340731e228bad77893d840cf43e52b98e.zip
cpython-59463d8340731e228bad77893d840cf43e52b98e.tar.gz
cpython-59463d8340731e228bad77893d840cf43e52b98e.tar.bz2
tracemalloc: fix get_traced_memory() docstring for result type
Diffstat (limited to 'Modules/_tracemalloc.c')
-rw-r--r--Modules/_tracemalloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_tracemalloc.c b/Modules/_tracemalloc.c
index 8ac5f79..85923fb 100644
--- a/Modules/_tracemalloc.c
+++ b/Modules/_tracemalloc.c
@@ -1264,7 +1264,7 @@ tracemalloc_get_tracemalloc_memory(PyObject *self)
}
PyDoc_STRVAR(tracemalloc_get_traced_memory_doc,
- "get_traced_memory() -> int\n"
+ "get_traced_memory() -> (int, int)\n"
"\n"
"Get the current size and maximum size of memory blocks traced\n"
"by the tracemalloc module as a tuple: (size: int, max_size: int).");