Added/updated/synchronized documentation comments for QrSegment's accessor methods, in all languages except C.

This commit is contained in:
Project Nayuki
2018-10-05 19:30:21 +00:00
parent 139e67eee2
commit aa39108f0d
6 changed files with 18 additions and 6 deletions
+3
View File
@@ -704,12 +704,15 @@ class QrSegment(object):
# ---- Accessor methods ----
def get_mode(self):
"""Returns the mode field of this segment."""
return self._mode
def get_num_chars(self):
"""Returns the character count field of this segment."""
return self._numchars
def get_bits(self):
"""Returns a new copy of the data bits of this segment."""
return list(self._bitdata) # Make defensive copy