summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorRobert-André Mauchin <30413512+eclipseo@users.noreply.github.com>2022-02-17 05:20:06 (GMT)
committerGitHub <noreply@github.com>2022-02-17 05:20:06 (GMT)
commit482a4b6c3f8ef60056e85647a1d84af2e6dfd3ef (patch)
tree70d5518631fe30899fec8b88d97e8181bb2c1489 /Objects
parent8cb5f707a841832aeac4b01c8b6a0e72dced52ae (diff)
downloadcpython-482a4b6c3f8ef60056e85647a1d84af2e6dfd3ef.zip
cpython-482a4b6c3f8ef60056e85647a1d84af2e6dfd3ef.tar.gz
cpython-482a4b6c3f8ef60056e85647a1d84af2e6dfd3ef.tar.bz2
bpo-46745: Fix typo in PositionsIterator (#31322)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Diffstat (limited to 'Objects')
-rw-r--r--Objects/codeobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/codeobject.c b/Objects/codeobject.c
index efb5146..9a27f12 100644
--- a/Objects/codeobject.c
+++ b/Objects/codeobject.c
@@ -1020,7 +1020,7 @@ positionsiter_next(positionsiterator* pi)
static PyTypeObject PositionsIterator = {
PyVarObject_HEAD_INIT(&PyType_Type, 0)
- "poisitions_iterator", /* tp_name */
+ "positions_iterator", /* tp_name */
sizeof(positionsiterator), /* tp_basicsize */
0, /* tp_itemsize */
/* methods */