Skip to content

Commit 4d8a78f

Browse files
committed
Remove "-> Any" type hint
1 parent 62798a5 commit 4d8a78f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

barcode/writer.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
import os
55
import xml.dom.minidom
66
from typing import TYPE_CHECKING
7-
from typing import Any
87
from typing import BinaryIO
98
from typing import Callable
109
from typing import TypedDict
@@ -219,7 +218,7 @@ def packed(self, line: str) -> Generator[tuple[int, float], str, None]:
219218
yield (-c, self.guard_height_factor)
220219
c = 1
221220

222-
def render(self, code: list[str]) -> Any:
221+
def render(self, code: list[str]):
223222
"""Renders the barcode to whatever the inheriting writer provides,
224223
using the registered callbacks.
225224

0 commit comments

Comments
 (0)