Skip to content

Commit

Permalink
pythongh-125038: typo fix in previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
efimov-mikhail committed Nov 7, 2024
1 parent b9e2b38 commit 30060e5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Python/bytecodes.c
Original file line number Diff line number Diff line change
Expand Up @@ -5032,7 +5032,7 @@ dummy_func(
PyTypeObject *type = Py_TYPE(iterable);
if (oparg == 0) {
// Sync case, similar to GET_ITER
if (type->tp_iter == NULL || !PySequence_Check(iterable)) {
if (type->tp_iter == NULL && !PySequence_Check(iterable)) {
PyErr_Format(PyExc_TypeError,
"'%.200s' object is not iterable",
type->tp_name);
Expand Down
2 changes: 1 addition & 1 deletion Python/executor_cases.c.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Python/generated_cases.c.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 30060e5

Please sign in to comment.