Skip to content

Commit

Permalink
Remove "-> Any" type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
maresb authored and WhyNotHugo committed Jul 9, 2024
1 parent f6a036e commit bf627b4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions barcode/writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import os
import xml.dom.minidom
from typing import TYPE_CHECKING
from typing import Any
from typing import BinaryIO
from typing import Callable
from typing import TypedDict
Expand Down Expand Up @@ -219,7 +218,7 @@ def packed(self, line: str) -> Generator[tuple[int, float], str, None]:
yield (-c, self.guard_height_factor)
c = 1

def render(self, code: list[str]) -> Any:
def render(self, code: list[str]):
"""Renders the barcode to whatever the inheriting writer provides,
using the registered callbacks.
Expand Down

0 comments on commit bf627b4

Please sign in to comment.