summaryrefslogtreecommitdiffstats
path: root/Parser/asdl_c.py
diff options
context:
space:
mode:
authorabel1502 <32196516+abel1502@users.noreply.github.com>2023-02-10 03:10:46 (GMT)
committerGitHub <noreply@github.com>2023-02-10 03:10:46 (GMT)
commit448c7d154e72506158d0a7a766e9f1cb8adf3dec (patch)
tree3dbac5364be21aa75fd6bae230c8f7b674d77c63 /Parser/asdl_c.py
parent34c50ceb1e2d40f7faab673d2033ecaafd3c611a (diff)
downloadcpython-448c7d154e72506158d0a7a766e9f1cb8adf3dec.zip
cpython-448c7d154e72506158d0a7a766e9f1cb8adf3dec.tar.gz
cpython-448c7d154e72506158d0a7a766e9f1cb8adf3dec.tar.bz2
Fix some typos in asdl_c.py (GH-101757)
Diffstat (limited to 'Parser/asdl_c.py')
-rwxr-xr-xParser/asdl_c.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Parser/asdl_c.py b/Parser/asdl_c.py
index 3e30761..db0e597 100755
--- a/Parser/asdl_c.py
+++ b/Parser/asdl_c.py
@@ -73,7 +73,7 @@ def reflow_c_string(s, depth):
def is_simple(sum_type):
"""Return True if a sum is a simple.
- A sum is simple if it's types have no fields and itself
+ A sum is simple if its types have no fields and itself
doesn't have any attributes. Instances of these types are
cached at C level, and they act like singletons when propagating
parser generated nodes into Python level, e.g.
@@ -352,7 +352,7 @@ class PrototypeVisitor(EmitVisitor):
self.visit(t, name, sum.attributes)
def get_args(self, fields):
- """Return list of C argument into, one for each field.
+ """Return list of C argument info, one for each field.
Argument info is 3-tuple of a C type, variable name, and flag
that is true if type can be NULL.