]> granicus.if.org Git - python/commitdiff
tracemalloc: fix get_traced_memory() docstring for result type
authorVictor Stinner <victor.stinner@gmail.com>
Tue, 26 Nov 2013 09:46:06 +0000 (10:46 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Tue, 26 Nov 2013 09:46:06 +0000 (10:46 +0100)
Modules/_tracemalloc.c

index 8ac5f7979390e1501d0b139a03d30459f3041b42..85923fb2d3c974978312ac169b6a5144e6014c2b 100644 (file)
@@ -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).");