Fix some docstrings

This commit is contained in:
belono 2023-09-18 12:57:51 +02:00
parent c4eb21e83d
commit d3946212c7
5 changed files with 4 additions and 8 deletions

View File

@ -88,7 +88,6 @@ class CupsPrinter(Escpos):
"""Class constructor for CupsPrinter. """Class constructor for CupsPrinter.
:param printer_name: CUPS printer name (Optional) :param printer_name: CUPS printer name (Optional)
:type printer_name: str
:param host: CUPS server host/ip (Optional) :param host: CUPS server host/ip (Optional)
:type host: str :type host: str
:param port: CUPS server port (Optional) :param port: CUPS server port (Optional)

View File

@ -1,6 +1,6 @@
#!/usr/bin/python #!/usr/bin/python
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
"""This module contains the implementation of the CupsPrinter printer driver. """This module contains the implementation of the File printer driver.
:author: python-escpos developers :author: python-escpos developers
:organization: `python-escpos <https://github.com/python-escpos>`_ :organization: `python-escpos <https://github.com/python-escpos>`_

View File

@ -1,6 +1,6 @@
#!/usr/bin/python #!/usr/bin/python
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
"""This module contains the implementation of the CupsPrinter printer driver. """This module contains the implementation of the LP printer driver.
:author: python-escpos developers :author: python-escpos developers
:organization: `python-escpos <https://github.com/python-escpos>`_ :organization: `python-escpos <https://github.com/python-escpos>`_
@ -67,7 +67,6 @@ class LP(Escpos):
"""LP class constructor. """LP class constructor.
:param printer_name: CUPS printer name (Optional) :param printer_name: CUPS printer name (Optional)
:type printer_name: str
:param auto_flush: Automatic flush after every _raw() (Optional) :param auto_flush: Automatic flush after every _raw() (Optional)
:type auto_flush: bool :type auto_flush: bool
""" """

View File

@ -1,6 +1,6 @@
#!/usr/bin/python #!/usr/bin/python
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
"""This module contains the implementation of the CupsPrinter printer driver. """This module contains the implementation of the Serial printer driver.
:author: python-escpos developers :author: python-escpos developers
:organization: `python-escpos <https://github.com/python-escpos>`_ :organization: `python-escpos <https://github.com/python-escpos>`_
@ -22,8 +22,6 @@ _DEP_PYSERIAL = False
try: try:
import serial import serial
# import serial.SerialException
_DEP_PYSERIAL = True _DEP_PYSERIAL = True
except ImportError: except ImportError:
pass pass

View File

@ -1,6 +1,6 @@
#!/usr/bin/python #!/usr/bin/python
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
"""This module contains the implementation of the CupsPrinter printer driver. """This module contains the implementation of the Win32Raw printer driver.
:author: python-escpos developers :author: python-escpos developers
:organization: `python-escpos <https://github.com/python-escpos>`_ :organization: `python-escpos <https://github.com/python-escpos>`_