mirror of
https://github.com/python-escpos/python-escpos
synced 2025-12-02 09:43:30 +00:00
annotate
This commit is contained in:
@@ -23,7 +23,7 @@ from .constants import CODEPAGE_CHANGE
|
||||
from .exceptions import Error
|
||||
|
||||
|
||||
class Encoder(object):
|
||||
class Encoder:
|
||||
"""Take available code spaces and pick the right one for a given character.
|
||||
|
||||
Note: To determine the code page, it needs to do the conversion, and
|
||||
@@ -202,7 +202,7 @@ def split_writable_text(encoder, text, encoding):
|
||||
return text, None
|
||||
|
||||
|
||||
class MagicEncode(object):
|
||||
class MagicEncode:
|
||||
"""Help switching to the right code page.
|
||||
|
||||
A helper that helps us to automatically switch to the right
|
||||
|
||||
Reference in New Issue
Block a user