Merge pull request #7 from jwilk-forks/spelling
Fix some typos. Thanks to jwilk for the patch.
This commit is contained in:
commit
d1ecea745a
@ -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.
|
||||||
|
|
||||||
|
4
protocol
4
protocol
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user