Skip to content

Commit de08226

Browse files
imported callable from builtins and removed local callable assignment
1 parent 5ec3d3e commit de08226

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

stubs/six/six/__init__.pyi

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
import builtins
21
import operator
32
import types
43
import unittest
54
from _typeshed import IdentityFunction, SupportsGetItem, Unused
6-
from builtins import next as next
5+
from builtins import callable as callable, next as next
76
from collections.abc import Callable, ItemsView, Iterable, Iterator as _Iterator, KeysView, Mapping, ValuesView
87
from functools import wraps as wraps
98
from importlib.util import spec_from_loader as spec_from_loader
@@ -32,8 +31,6 @@ binary_type = bytes
3231

3332
MAXSIZE: int
3433

35-
callable = builtins.callable
36-
3734
def get_unbound_function(unbound: types.FunctionType) -> types.FunctionType: ...
3835

3936
create_bound_method = types.MethodType

0 commit comments

Comments
 (0)