mirror of
1
0
Fork 0

Merge pull request #7 from jwilk-forks/spelling

Fix some typos. Thanks to jwilk for the patch.
This commit is contained in:
Luis MartinGarcia 2019-05-28 09:31:27 +01:00 committed by GitHub
commit d1ecea745a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -228,10 +228,10 @@
oddchar=<c> : Same as evenchar but for characters in odd positions of the
horizontal lines. By default it takes the value '+'
startchar=<c> : 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=<c> : Same as startchar but for the character in the last
position of the horizonal lines.
position of the horizontal lines.
sepchar=<c> : Instructs protocol to use the supplied character instead
of the default "|" for the field separator character.

View File

@ -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: