mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
PY-15272 Numpy: comparison operations on arrays should return array, not bool
skeletons for unary operations
This commit is contained in:
@@ -129,6 +129,15 @@ class ndarray(object):
|
||||
"""
|
||||
pass
|
||||
|
||||
def __neg__(self, *args, **kwargs): # real signature unknown
|
||||
"""
|
||||
x.__neg__() <==> -x
|
||||
Returns
|
||||
-------
|
||||
out : ndarray
|
||||
"""
|
||||
pass
|
||||
|
||||
def __rmul__(self, y): # real signature unknown; restored from __doc__
|
||||
"""
|
||||
x.__rmul__(y) <==> y*x
|
||||
@@ -339,6 +348,16 @@ class ndarray(object):
|
||||
"""
|
||||
pass
|
||||
|
||||
def __pos__(self, *args, **kwargs): # real signature unknown
|
||||
"""
|
||||
x.__pos__() <==> +x
|
||||
|
||||
Returns
|
||||
-------
|
||||
out : ndarray
|
||||
"""
|
||||
pass
|
||||
|
||||
def __ror__(self, y): # real signature unknown; restored from __doc__
|
||||
"""
|
||||
x.__ror__(y) <==> y|x
|
||||
@@ -729,6 +748,16 @@ class ndarray(object):
|
||||
"""
|
||||
pass
|
||||
|
||||
def __invert__(self, *args, **kwargs): # real signature unknown
|
||||
"""
|
||||
x.__invert__() <==> ~x
|
||||
|
||||
Returns
|
||||
-------
|
||||
out : ndarray
|
||||
"""
|
||||
pass
|
||||
|
||||
def __ior__(self, y): # real signature unknown; restored from __doc__
|
||||
"""
|
||||
x.__ior__(y) <==> x|=y
|
||||
|
||||
Reference in New Issue
Block a user