[Python-checkins] peps: PEP 509: fix typos reported by Brett

victor.stinner python-checkins at python.org
Tue Apr 19 06:21:37 EDT 2016


https://hg.python.org/peps/rev/90fcde1f7017
changeset:   6286:90fcde1f7017
user:        Victor Stinner <victor.stinner at gmail.com>
date:        Thu Apr 14 18:43:28 2016 +0200
summary:
  PEP 509: fix typos reported by Brett

files:
  pep-0509.txt |  8 ++++----
  1 files changed, 4 insertions(+), 4 deletions(-)


diff --git a/pep-0509.txt b/pep-0509.txt
--- a/pep-0509.txt
+++ b/pep-0509.txt
@@ -74,7 +74,7 @@
             self.version = dict_get_version(dict)
 
         def check(self):
-            """Return True if the dictionary entry did not changed
+            """Return True if the dictionary entry did not change
             and the dictionary was not replaced."""
 
             # read the version of the dict structure
@@ -166,7 +166,7 @@
 =======
 
 Add a ``ma_version_tag`` field to the ``PyDictObject`` structure with
-the C type ``PY_INT64_T``, 64-bit unsigned integer. Add also a global
+the C type ``PY_UINT64_T``, 64-bit unsigned integer. Add also a global
 dictionary version. Each time a dictionary is created, the global
 version is incremented and the dictionary version is initialized to the
 global version. The global version is also incremented and copied to the
@@ -326,7 +326,7 @@
 references to the dictionary and to the key are needed).
 
 Changes: add a ``me_version`` field to the ``PyDictKeyEntry`` structure,
-the field has the C type ``PY_INT64_T``. When a key is created or
+the field has the C type ``PY_UINT64_T``. When a key is created or
 modified, the entry version is set to the dictionary version which is
 incremented at any change (create, modify, delete).
 
@@ -344,7 +344,7 @@
             self.entry_version = dict_get_entry_version(dict, key)
 
         def check(self):
-            """Return True if the dictionary entry did not changed
+            """Return True if the dictionary entry did not change
             and the dictionary was not replaced."""
 
             # read the version of the dict structure

-- 
Repository URL: https://hg.python.org/peps


More information about the Python-checkins mailing list