mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-12 15:01:55 +08:00
Fix partition signature (#413)
This commit is contained in:
@@ -56,4 +56,8 @@ class SimpleLazyObject(LazyObject):
|
|||||||
def __copy__(self) -> List[int]: ...
|
def __copy__(self) -> List[int]: ...
|
||||||
def __deepcopy__(self, memo: Dict[Any, Any]) -> List[int]: ...
|
def __deepcopy__(self, memo: Dict[Any, Any]) -> List[int]: ...
|
||||||
|
|
||||||
def partition(predicate: Callable, values: List[Model]) -> Tuple[List[Model], List[Model]]: ...
|
_PartitionMember = TypeVar("_PartitionMember")
|
||||||
|
|
||||||
|
def partition(
|
||||||
|
predicate: Callable, values: List[_PartitionMember]
|
||||||
|
) -> Tuple[List[_PartitionMember], List[_PartitionMember]]: ...
|
||||||
|
|||||||
Reference in New Issue
Block a user