mirror of
https://github.com/status-im/QR-Code-generator.git
synced 2026-08-31 01:31:10 +00:00
Tweaked the comment for QrCode.encodeTextToSegment() in most language versions.
This commit is contained in:
+1
-1
@@ -69,7 +69,7 @@ def encode_text(text, ecl):
|
||||
|
||||
|
||||
def encode_text_to_segment(text):
|
||||
"""Returns a QR Code segment representing the given Unicode text string."""
|
||||
"""Returns a QR segment representing the given Unicode text string."""
|
||||
if not isinstance(text, str) and (sys.version_info[0] >= 3 or not isinstance(text, unicode)):
|
||||
raise TypeError("Text string expected")
|
||||
# Select the most efficient segment encoding automatically
|
||||
|
||||
Reference in New Issue
Block a user