From 18cb344cdc6e85a81a84324206fa7e20fd068ba1 Mon Sep 17 00:00:00 2001 From: Jakub Wilk Date: Mon, 22 Oct 2018 14:44:21 +0200 Subject: [PATCH] Fix typos --- README.txt | 4 ++-- protocol | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.txt b/README.txt index 22f7c99..93cfad1 100644 --- a/README.txt +++ b/README.txt @@ -228,10 +228,10 @@ oddchar= : Same as evenchar but for characters in odd positions of the horizontal lines. By default it takes the value '+' startchar= : Instructs protocol to use the supplied character instead - of the default "+" for the first position of an horizontal + of the default "+" for the first position of a horizontal line. endchar= : Same as startchar but for the character in the last - position of the horizonal lines. + position of the horizontal lines. sepchar= : Instructs protocol to use the supplied character instead of the default "|" for the field separator character. diff --git a/protocol b/protocol index 5bfeeda..abbed87 100755 --- a/protocol +++ b/protocol @@ -350,7 +350,7 @@ class Protocol(): bits_in_line=0 # When we have a fragmented field, we may need to suppress # the floor of the field, so the current line connects - # with the one that follows. E.g: + # with the one that follows. E.g.: # +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ # | field16 | | # +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ + @@ -661,7 +661,7 @@ class Main(): print(" %s" % spec) sys.exit(1) # Finally, based on the spec, instance an actual protocol. - # Note that if the spec is incorect, the Protocol() consutrctor + # Note that if the spec is incorrect, the Protocol() constructor # will call sys.exit() itself, so there is no need to do # error checking here. try: