Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions stubs/six/@tests/stubtest_allowlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,3 @@ six.Module_six_moves_urllib_robotparser

# Belongs to `django.utils.six`
six.iterlists

# Unclear problems
six.callable
5 changes: 1 addition & 4 deletions stubs/six/six/__init__.pyi
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import builtins
import operator
import types
import unittest
from _typeshed import IdentityFunction, SupportsGetItem, Unused
from builtins import next as next
from builtins import callable as callable, next as next
from collections.abc import Callable, ItemsView, Iterable, Iterator as _Iterator, KeysView, Mapping, ValuesView
from functools import wraps as wraps
from importlib.util import spec_from_loader as spec_from_loader
Expand Down Expand Up @@ -32,8 +31,6 @@ binary_type = bytes

MAXSIZE: int

callable = builtins.callable

def get_unbound_function(unbound: types.FunctionType) -> types.FunctionType: ...

create_bound_method = types.MethodType
Expand Down