Skip to content

Commit a4c2623

Browse files
committed
Remove unnecessary comment
1 parent 9f6d715 commit a4c2623

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

‎Python/ceval.c‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1686,8 +1686,6 @@ suggest_missing_self(PyFunctionObject *func, PyCodeObject *co,
16861686
}
16871687

16881688
if (co->co_argcount > 0) {
1689-
/* Don't confuse the user when they've already declared a
1690-
common convention of cls/self. */
16911689
PyObject *first_parameter_name = PyTuple_GET_ITEM(co->co_localsplusnames, 0);
16921690
/* If the receiver parameter is already declared, another hint would be misleading. */
16931691
if (PyUnicode_CompareWithASCIIString(first_parameter_name, "self") == 0 ||

0 commit comments

Comments
 (0)