Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing bracket from example #1

Merged
merged 3 commits into from
Mar 13, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions vcxproj.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def print_project_guid():
if action == "start_elem" and params["name"] == "ProjectGuid":
action, params = yield
assert action == "chars"
print("Project GUID is", params["content"]
print("Project GUID is", params["content"])

vcxproj.check_file("myproject.vcxproj", print_project_guid)

Expand Down Expand Up @@ -83,7 +83,7 @@ def coroutine(genfunc):

Filter and checker coroutines should be defined with this decorator.

Automatically primes coroutiens by calling next().
Automatically primes coroutines by calling next().
"""
def wrapped(*args, **kwargs):
generator = genfunc(*args, **kwargs)
Expand Down Expand Up @@ -201,7 +201,7 @@ def filter_file(input_filename, genfilter, output_filename):

genfilter - callable taking output coroutine and returning filter coroutine

The filter coroutine receives parsed items via 'yield' and sould send items
The filter coroutine receives parsed items via 'yield' and should send items
to the output coroutine using the latter's send() method.
"""
if genfilter is None:
Expand Down