summaryrefslogtreecommitdiffstats
path: root/Doc/lib
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/lib')
-rw-r--r--Doc/lib/libstdtypes.tex5
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/lib/libstdtypes.tex b/Doc/lib/libstdtypes.tex
index 6b6ccbe0..49f2dae 100644
--- a/Doc/lib/libstdtypes.tex
+++ b/Doc/lib/libstdtypes.tex
@@ -530,8 +530,9 @@ In Python 2.3 and beyond, \var{x} may be a string of any length.
\code{\var{x} = \var{i} + \var{n}*\var{k}} such that \code{0}
\code{<=} \var{n} \code{<} \code{abs(i-j)}. If \var{i} or \var{j}
is greater than \code{len(\var{s})}, use \code{len(\var{s})}. If
- \var{i} or \var{j} are ommitted then they become ``end'' values
- (which end depends on the sign of \var{k}).
+ \var{i} or \var{j} are omitted then they become ``end'' values
+ (which end depends on the sign of \var{k}). Note, \var{k} cannot
+ be zero.
\end{description}