http://hg.python.org/cpython/rev/2e2ec595dc58
changeset: 87551:2e2ec595dc58
user: Victor Stinner <victor.stinner@gmail.com>
date: Mon Nov 25 09:33:18 2013 +0100
summary:
Close #19762: Fix name of _get_traces() and _get_object_traceback() function
name in their docstring. Patch written by Vajrasky Kok.
files:
Modules/_tracemalloc.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Modules/_tracemalloc.c b/Modules/_tracemalloc.c
--- a/Modules/_tracemalloc.c
+++ b/Modules/_tracemalloc.c
@@ -1018,7 +1018,7 @@
}
PyDoc_STRVAR(tracemalloc_get_traces_doc,
- "get_traces() -> list\n"
+ "_get_traces() -> list\n"
"\n"
"Get traces of all memory blocks allocated by Python.\n"
"Return a list of (size: int, traceback: tuple) tuples.\n"
@@ -1083,7 +1083,7 @@
}
PyDoc_STRVAR(tracemalloc_get_object_traceback_doc,
- "get_object_traceback(obj)\n"
+ "_get_object_traceback(obj)\n"
"\n"
"Get the traceback where the Python object obj was allocated.\n"
"Return a tuple of (filename: str, lineno: int) tuples.\n"
--
Repository URL: http://hg.python.org/cpython
_______________________________________________
Python-checkins mailing list
Python-checkins@python.org
https://mail.python.org/mailman/listinfo/python-checkins