[Git][NTPsec/ntpsec][master] More comment polishing.

Eric S. Raymond gitlab at mg.gitlab.com
Mon Oct 17 22:33:39 UTC 2016


Eric S. Raymond pushed to branch master at NTPsec / ntpsec


Commits:
5446728b by Eric S. Raymond at 2016-10-17T18:33:30-04:00
More comment polishing.

- - - - -


1 changed file:

- wafhelpers/pythonize-header


Changes:

=====================================
wafhelpers/pythonize-header
=====================================
--- a/wafhelpers/pythonize-header
+++ b/wafhelpers/pythonize-header
@@ -7,7 +7,7 @@ Skips #include lines, struct and union declarations, single-line typedefs
 and externs.  Transforms comments. Does not yet handle multiline externs
 or variable declarations.
 
-Yes, SWIG can do something like this.  But it's heavyweight and introduces
+Yes, SWIG can do something like this.  But it's heavyweight and would introduce
 another dependency.
 """
 
@@ -58,7 +58,7 @@ def pythonize(rfp, wfp):
         # Hack remaining content
         for (regexp, replacement) in patterns:
             line = regexp.sub(replacement, line)
-        # Omit some expression elents Python cannot evaluate
+        # Omit some expression elements Python cannot evaluate
         for word in impossibles:
             if word in line:
                 line = "# " + line
@@ -74,3 +74,5 @@ if __name__ == '__main__':
             with open(path) as rfp:
                 sys.stdout.write("#\n# Definitions from %s begin\n#\n" % path)
                 pythonize(rfp, sys.stdout)
+
+# end



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/5446728b11badb607bf06cfdde6c2b863c25ed0d
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ntpsec.org/pipermail/vc/attachments/20161017/7ecfe82c/attachment.html>


More information about the vc mailing list