Skip to content

Commit de883a5

Browse files
committed
Fix lints
1 parent 4f4466f commit de883a5

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

Parser/asdl_c.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -874,18 +874,18 @@ def visitModule(self, mod):
874874
}
875875
876876
/*
877-
* Format the names in the set 'missing' into a natural language list,
877+
* Format the names in the set 'missing' into a natural language list,
878878
* sorted in the order in which they appear in 'fields'.
879879
*
880880
* Similar to format_missing from 'Python/ceval.c'.
881881
*
882882
* Parameters
883-
883+
884884
* missing Set of missing field names to render.
885885
* fields Sequence of AST node field names (self._fields).
886886
*/
887887
static PyObject *
888-
format_missing(PyObject *missing, PyObject *fields)
888+
format_missing(PyObject *missing, PyObject *fields)
889889
{
890890
Py_ssize_t num_fields, num_total, num_left;
891891
num_fields = PySequence_Size(fields);
@@ -894,7 +894,7 @@ def visitModule(self, mod):
894894
}
895895
num_total = num_left = PySet_GET_SIZE(missing);
896896
PyObject *name_str = PyUnicode_FromString("");
897-
// Iterate all AST node fields in order so that the missing positional
897+
// Iterate all AST node fields in order so that the missing positional
898898
// arguments are rendered in the order in which __init__ expects them.
899899
for (Py_ssize_t i = 0; i < num_fields; i++) {
900900
PyObject *name = PySequence_GetItem(fields, i);

Python/Python-ast.c

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)