Skip to content

Commit 448c7d1

Browse files
authored
Fix some typos in asdl_c.py (GH-101757)
1 parent 34c50ce commit 448c7d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Parser/asdl_c.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def reflow_c_string(s, depth):
7373
def is_simple(sum_type):
7474
"""Return True if a sum is a simple.
7575
76-
A sum is simple if it's types have no fields and itself
76+
A sum is simple if its types have no fields and itself
7777
doesn't have any attributes. Instances of these types are
7878
cached at C level, and they act like singletons when propagating
7979
parser generated nodes into Python level, e.g.
@@ -352,7 +352,7 @@ def visitSum(self, sum, name):
352352
self.visit(t, name, sum.attributes)
353353

354354
def get_args(self, fields):
355-
"""Return list of C argument into, one for each field.
355+
"""Return list of C argument info, one for each field.
356356
357357
Argument info is 3-tuple of a C type, variable name, and flag
358358
that is true if type can be NULL.

0 commit comments

Comments
 (0)