Mercurial > cpython-lru_cache-weakref
diff Doc/lib/libstdtypes.tex @ 30250:830c0cd8fdb2 legacy-trunk
SF patch #797180: Bug 792656: slicing explained
| author | Raymond Hettinger <python@rcn.com> |
|---|---|
| date | Sat, 30 Aug 2003 23:31:31 +0000 |
| parents | e3c9b48de60a |
| children | 4aa84a8b1fe4 |
line wrap: on
line diff
--- a/Doc/lib/libstdtypes.tex Sat Aug 30 23:21:32 2003 +0000 +++ b/Doc/lib/libstdtypes.tex Sat Aug 30 23:31:31 2003 +0000 @@ -530,8 +530,9 @@ \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}
