Skip to content

Commit 822db86

Browse files
Fix duplicate word typos in comments (#106225)
1 parent c2622a0 commit 822db86

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Include/cpython/object.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ struct _typeobject {
231231
};
232232

233233
/* This struct is used by the specializer
234-
* It should should be treated as an opaque blob
234+
* It should be treated as an opaque blob
235235
* by code other than the specializer and interpreter. */
236236
struct _specialization_cache {
237237
// In order to avoid bloating the bytecode with lots of inline caches, the

Objects/frameobject.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1186,7 +1186,7 @@ frame_get_var(_PyInterpreterFrame *frame, PyCodeObject *co, int i,
11861186
// (likely) MAKE_CELL must have executed already.
11871187
value = PyCell_GET(value);
11881188
}
1189-
// (likely) Otherwise it it is an arg (kind & CO_FAST_LOCAL),
1189+
// (likely) Otherwise it is an arg (kind & CO_FAST_LOCAL),
11901190
// with the initial value set when the frame was created...
11911191
// (unlikely) ...or it was set to some initial value by
11921192
// an earlier call to PyFrame_LocalsToFast().

Python/initconfig.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,7 @@ _Py_SetArgcArgv(Py_ssize_t argc, wchar_t * const *argv)
538538
_PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc);
539539

540540
// XXX _PyRuntime.orig_argv only gets cleared by Py_Main(),
541-
// so it it currently leaks for embedders.
541+
// so it currently leaks for embedders.
542542
res = _PyWideStringList_Copy(&_PyRuntime.orig_argv, &argv_list);
543543

544544
PyMem_SetAllocator(PYMEM_DOMAIN_RAW, &old_alloc);

0 commit comments

Comments
 (0)