Skip to content

Commit f6a036e

Browse files
maresbWhyNotHugo
authored andcommitted
Fix bad info in docstring
1 parent 50d2e28 commit f6a036e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

barcode/base.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,10 @@ def __repr__(self) -> str:
4848
return f"<{self.__class__.__name__}({self.get_fullcode()!r})>"
4949

5050
def build(self) -> list[str]:
51-
"""Return a singleton list with a string encoding the barcode as 1s and 0s."""
51+
"""Return a single-element list with a string encoding the barcode.
52+
53+
Typically the string consists of 1s and 0s, although it can contain
54+
other characters such as G for guard lines (e.g. in EAN13)."""
5255
raise NotImplementedError
5356

5457
def get_fullcode(self):

0 commit comments

Comments
 (0)