From 52cc670711ad70c9c3b57d1e6bf07c497ecad353 Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Tue, 30 Apr 2002 14:54:47 +0000 Subject: [PATCH] Add a note about when the "%r" formatting code was added. --- Doc/lib/libstdtypes.tex | 1 + 1 file changed, 1 insertion(+) diff --git a/Doc/lib/libstdtypes.tex b/Doc/lib/libstdtypes.tex index e7275cec14e..75787bad60b 100644 --- a/Doc/lib/libstdtypes.tex +++ b/Doc/lib/libstdtypes.tex @@ -816,6 +816,7 @@ The conversion types are: % XXX Examples? +(The \code{\%r} conversion was added in Python 2.0.) Since Python strings have an explicit length, \code{\%s} conversions do not assume that \code{'\e0'} is the end of the string.