1
0
mirror of synced 2024-11-23 09:44:30 +01:00

Fix typos

This commit is contained in:
Jakub Wilk 2018-10-22 14:44:21 +02:00
parent d450da7d8a
commit 18cb344cdc
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 oddchar=<c> : Same as evenchar but for characters in odd positions of the
horizontal lines. By default it takes the value '+' horizontal lines. By default it takes the value '+'
startchar=<c> : Instructs protocol to use the supplied character instead 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. line.
endchar=<c> : Same as startchar but for the character in the last 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 sepchar=<c> : Instructs protocol to use the supplied character instead
of the default "|" for the field separator character. of the default "|" for the field separator character.

View File

@ -350,7 +350,7 @@ class Protocol():
bits_in_line=0 bits_in_line=0
# When we have a fragmented field, we may need to suppress # When we have a fragmented field, we may need to suppress
# the floor of the field, so the current line connects # 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 | | # | field16 | |
# +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ + # +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +
@ -661,7 +661,7 @@ class Main():
print(" %s" % spec) print(" %s" % spec)
sys.exit(1) sys.exit(1)
# Finally, based on the spec, instance an actual protocol. # 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 # will call sys.exit() itself, so there is no need to do
# error checking here. # error checking here.
try: try: