[Python-checkins] peps: PEP 509: fix typos reported by Jim J. Jewett
victor.stinner
python-checkins at python.org
Tue Jan 12 15:04:05 EST 2016
https://hg.python.org/peps/rev/bfb63df08552
changeset: 6172:bfb63df08552
user: Victor Stinner <victor.stinner at gmail.com>
date: Tue Jan 12 21:03:57 2016 +0100
summary:
PEP 509: fix typos reported by Jim J. Jewett
files:
pep-0509.txt | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/pep-0509.txt b/pep-0509.txt
--- a/pep-0509.txt
+++ b/pep-0509.txt
@@ -128,7 +128,7 @@
Unladen Swallow
---------------
-Even if dictionary version was not explicitly mentionned, optimization
+Even if dictionary version was not explicitly mentioned, optimization
globals and builtins lookup was part of the Unladen Swallow plan:
"Implement one of the several proposed schemes for speeding lookups of
globals and builtins." Source: `Unladen Swallow ProjectPlan
@@ -212,7 +212,7 @@
any overhead on dictionary operations.
When the version does not change, ``PyDict_GetItem()`` takes 14.8 ns for
-a dictioanry lookup, whereas a guard check only takes 3.8 ns. Moreover,
+a dictionary lookup, whereas a guard check only takes 3.8 ns. Moreover,
a guard can watch for multiple keys. For example, for an optimization
using 10 global variables in a function, 10 dictionary lookups costs 148
ns, whereas the guard still only costs 3.8 ns when the version does not
--
Repository URL: https://hg.python.org/peps
More information about the Python-checkins
mailing list