mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-19 13:02:30 +07:00
PY-20757 Fixed: Incorrect warning about expected attribute
Make min skeletons generic.
This commit is contained in:
committed by
Semyon Proshev
parent
a77aed6035
commit
c58302f45c
@@ -209,6 +209,16 @@ def map(function, sequence, *sequence_1):
|
||||
pass
|
||||
|
||||
|
||||
def min(*args, key=None, default=None):
|
||||
"""Return the smallest item in an iterable or the smallest of two or more
|
||||
arguments.
|
||||
|
||||
:type args: tuple[T]
|
||||
:rtype: T
|
||||
"""
|
||||
pass
|
||||
|
||||
|
||||
def next(iterator, default=None):
|
||||
"""Return the next item from the iterator.
|
||||
|
||||
|
||||
@@ -225,7 +225,8 @@ def min(*args, key=None, default=None):
|
||||
"""Return the smallest item in an iterable or the smallest of two or more
|
||||
arguments.
|
||||
|
||||
:rtype: object | unknown
|
||||
:type args: tuple[T]
|
||||
:rtype: T
|
||||
"""
|
||||
pass
|
||||
|
||||
|
||||
Reference in New Issue
Block a user