diff options
author | jonasdlindner <42033762+jonasdlindner@users.noreply.github.com> | 2022-11-06 16:54:44 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-06 16:54:44 (GMT) |
commit | ede6cb26153f106a11a462614fdda12691fc6463 (patch) | |
tree | 4e04c8daad8ffa74514b8191290a50906c31667a | |
parent | 61b6c40b645bd8c8568f1646dc46580fa49d107a (diff) | |
download | cpython-ede6cb26153f106a11a462614fdda12691fc6463.zip cpython-ede6cb26153f106a11a462614fdda12691fc6463.tar.gz cpython-ede6cb26153f106a11a462614fdda12691fc6463.tar.bz2 |
Correct some typos in comments (GH-98194)
Automerge-Triggered-By: GH:AlexWaygood
-rw-r--r-- | Modules/pyexpat.c | 2 | ||||
-rw-r--r-- | Objects/longobject.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Modules/pyexpat.c b/Modules/pyexpat.c index 165cb0e..3fe4259 100644 --- a/Modules/pyexpat.c +++ b/Modules/pyexpat.c @@ -1725,7 +1725,7 @@ add_error(PyObject *errors_module, PyObject *codes_dict, const int error_code = (int)error_index; /* NOTE: This keeps the source of truth regarding error - * messages with libexpat and (by definiton) in bulletproof sync + * messages with libexpat and (by definition) in bulletproof sync * with the other uses of the XML_ErrorString function * elsewhere within this file. pyexpat's copy of the messages * only acts as a fallback in case of outdated runtime libexpat, diff --git a/Objects/longobject.c b/Objects/longobject.c index 652fdb7..80cd7c1 100644 --- a/Objects/longobject.c +++ b/Objects/longobject.c @@ -4628,7 +4628,7 @@ long_pow(PyObject *v, PyObject *w, PyObject *x) /* k-ary values. If the exponent is large enough, table is * precomputed so that table[i] == a**(2*i+1) % c for i in * range(EXP_TABLE_LEN). - * Note: this is uninitialzed stack trash: don't pay to set it to known + * Note: this is uninitialized stack trash: don't pay to set it to known * values unless it's needed. Instead ensure that num_table_entries is * set to the number of entries actually filled whenever a branch to the * Error or Done labels is possible. |