From 400ee5799f40bbf3bf5b818c67705092c7cdf58e Mon Sep 17 00:00:00 2001 From: Tom Isaacson Date: Sun, 16 Sep 2018 07:02:00 +1200 Subject: [PATCH 1/3] Missing bracket from example --- vcxproj.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vcxproj.py b/vcxproj.py index 67c0b46..120b1f6 100644 --- a/vcxproj.py +++ b/vcxproj.py @@ -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) From 446dc30e8ba27e14c3bde8640960491435771655 Mon Sep 17 00:00:00 2001 From: Tom Isaacson Date: Sun, 16 Sep 2018 07:03:43 +1200 Subject: [PATCH 2/3] Fix spelling --- vcxproj.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vcxproj.py b/vcxproj.py index 120b1f6..767d819 100644 --- a/vcxproj.py +++ b/vcxproj.py @@ -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) From cef1a2e532b2d003bea3b0dc62b366966615915f Mon Sep 17 00:00:00 2001 From: Tom Isaacson Date: Sun, 16 Sep 2018 09:50:40 +1200 Subject: [PATCH 3/3] Fix spelling --- vcxproj.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vcxproj.py b/vcxproj.py index 767d819..c3d8115 100644 --- a/vcxproj.py +++ b/vcxproj.py @@ -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: