mirror of
https://github.com/davidhalter/django-stubs.git
synced 2026-10-06 12:18:56 +08:00
Fix partition signature (#413)
This commit is contained in:
1 parent
574a87e68c
commit
e680326c72
1 file changed
+5
-1
@@ -56,4 +56,8 @@ class SimpleLazyObject(LazyObject):
|
||||
def __copy__(self) -> 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