mirror of
https://github.com/status-im/QR-Code-generator.git
synced 2026-08-31 01:31:10 +00:00
Added and updated miscellaneous comments.
This commit is contained in:
@@ -685,6 +685,8 @@ class QrSegment(object):
|
||||
raise TypeError("QrSegment.Mode expected")
|
||||
if numch < 0:
|
||||
raise ValueError()
|
||||
|
||||
# The mode indicator for this segment.
|
||||
self._mode = mode
|
||||
|
||||
# The length of this segment's unencoded data, measured in characters for
|
||||
@@ -692,6 +694,7 @@ class QrSegment(object):
|
||||
# Always zero or positive.
|
||||
self._numchars = numch
|
||||
|
||||
# The data bits of this segment. Accessed through get_bits().
|
||||
self._bitdata = list(bitdata) # Make defensive copy
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user