[Python-checkins] cpython (2.7): Issue #18452: fix several "occurrence" typos (reported by Févry Thibault).

ned.deily python-checkins at python.org
Sun Jul 14 21:46:04 CEST 2013


http://hg.python.org/cpython/rev/8c935717fc8e
changeset:   84624:8c935717fc8e
branch:      2.7
parent:      84617:ba4c826848d5
user:        Ned Deily <nad at acm.org>
date:        Sun Jul 14 12:42:27 2013 -0700
summary:
  Issue #18452: fix several "occurrence" typos (reported by Févry Thibault).

files:
  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
--- a/Doc/howto/argparse.rst
+++ b/Doc/howto/argparse.rst
@@ -468,7 +468,7 @@
        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
--- a/Doc/library/stdtypes.rst
+++ b/Doc/library/stdtypes.rst
@@ -743,10 +743,10 @@
 +------------------+--------------------------------+----------+
 | ``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*                     |          |
 +------------------+--------------------------------+----------+
 

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list