Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(11)

Unified Diff: Objects/bytes_methods.c

Issue 10639: reindent.py converts newlines to platform default
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Modules/timemodule.c ('k') | Objects/codeobject.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
--- a/Objects/bytes_methods.c Tue Jul 26 09:37:46 2011 +0300
+++ b/Objects/bytes_methods.c Mon Jul 25 09:47:18 2011 -0400
@@ -366,10 +366,10 @@
PyDoc_STRVAR_shared(_Py_maketrans__doc__,
"B.maketrans(frm, to) -> translation table\n\
\n\
-Return a translation table (a bytes object of length 256) suitable\n\
-for use in the bytes or bytearray translate method where each byte\n\
-in frm is mapped to the byte at the same position in to.\n\
-The bytes objects frm and to must be of the same length.");
+Return a translation table (a bytes object of length 256)\n\
+suitable for use in bytes.translate where each byte in frm is\n\
+mapped to the byte at the same position in to.\n\
+The strings frm and to must be of the same length.");
static Py_ssize_t
_getbuffer(PyObject *obj, Py_buffer *view)
« no previous file with comments | « Modules/timemodule.c ('k') | Objects/codeobject.c » ('j') | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+