mirror of
https://github.com/python-escpos/python-escpos
synced 2025-09-13 09:09:58 +00:00
fix docstrings
This commit is contained in:
@@ -300,7 +300,7 @@ ESCPOS_COMMANDS = [
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"option_strings": ("--histeq",),
|
"option_strings": ("--histeq",),
|
||||||
"help": "Equalize the histrogram",
|
"help": "Equalize the histogram",
|
||||||
"type": str_to_bool,
|
"type": str_to_bool,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -458,6 +458,7 @@ ESCPOS_COMMANDS = [
|
|||||||
|
|
||||||
|
|
||||||
def print_extended_information() -> None:
|
def print_extended_information() -> None:
|
||||||
|
"""Print diagnostic information for bug reports."""
|
||||||
print(f"* python-escpos version: `{version.version}`")
|
print(f"* python-escpos version: `{version.version}`")
|
||||||
print(
|
print(
|
||||||
f"* python version: `{platform.python_implementation()} v{platform.python_version()}`"
|
f"* python version: `{platform.python_implementation()} v{platform.python_version()}`"
|
||||||
|
Reference in New Issue
Block a user