1
0
mirror of synced 2024-12-21 20:30:26 +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
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: