Skip to content

Commit eeb4cb8

Browse files
Apply ruff/pyupgrade rule UP035
Import from `collections.abc` instead
1 parent b565dc4 commit eeb4cb8

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

tabulate/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""Pretty-print tabular data."""
22

33
from collections import namedtuple
4-
from collections.abc import Iterable, Sized
4+
from collections.abc import Callable, Iterable, Sized
55
import dataclasses
66
from dataclasses import dataclass
77
from decimal import Decimal
@@ -14,7 +14,6 @@
1414
import re
1515
import sys
1616
import textwrap
17-
from typing import Callable
1817
import warnings
1918

2019
try:

0 commit comments

Comments
 (0)