From c967a593c95cbfe7558fcda72944da80dcb74ab8 Mon Sep 17 00:00:00 2001 From: Ned Deily Date: Sun, 14 Jul 2013 12:42:27 -0700 Subject: =?UTF-8?q?Issue=20#18452:=20fix=20several=20"occurrence"=20typos?= =?UTF-8?q?=20(reported=20by=20F=C3=A9vry=20Thibault).?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Doc/howto/argparse.rst | 2 +- Doc/library/stdtypes.rst | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Doc/howto/argparse.rst b/Doc/howto/argparse.rst index 4f64948..3c2b592 100644 --- a/Doc/howto/argparse.rst +++ b/Doc/howto/argparse.rst @@ -468,7 +468,7 @@ verbosity argument (check the output of ``python --help``):: print answer We have introduced another action, "count", -to count the number of occurences of a specific optional arguments: +to count the number of occurrences of a specific optional arguments: .. code-block:: sh diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index 76345e5..0001453 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -743,10 +743,10 @@ are sequences of the same type; *n*, *i* and *j* are integers: +------------------+--------------------------------+----------+ | ``max(s)`` | largest item of *s* | | +------------------+--------------------------------+----------+ -| ``s.index(i)`` | index of the first occurence | | +| ``s.index(i)`` | index of the first occurrence | | | | of *i* in *s* | | +------------------+--------------------------------+----------+ -| ``s.count(i)`` | total number of occurences of | | +| ``s.count(i)`` | total number of occurrences of | | | | *i* in *s* | | +------------------+--------------------------------+----------+ -- cgit v0.12