Skip to content

Commit 1d3a3b5

Browse files
committed
Minor tidy
1 parent 39cdf20 commit 1d3a3b5

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Parser/asdl_c.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -880,7 +880,7 @@ def visitModule(self, mod):
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
*/
@@ -1034,8 +1034,8 @@ def visitModule(self, mod):
10341034
}
10351035
else if (contains == 0) {
10361036
PyErr_Format(PyExc_TypeError,
1037-
"%T.__init__ got an unexpected keyword "
1038-
"argument '%U'", self, key);
1037+
"%T.__init__ got an unexpected keyword argument '%U'",
1038+
self, key);
10391039
res = -1;
10401040
goto cleanup;
10411041
}
@@ -1115,7 +1115,7 @@ def visitModule(self, mod):
11151115
}
11161116
Py_ssize_t num_missing = PySet_GET_SIZE(missing_names);
11171117
if (num_missing > 0) {
1118-
PyObject* name_str = format_missing(missing_names, fields);
1118+
PyObject *name_str = format_missing(missing_names, fields);
11191119
if (!name_str) {
11201120
goto set_remaining_cleanup;
11211121
}

0 commit comments

Comments
 (0)