Skip to content

Commit 24f105a

Browse files
committed
Added Docstrings
1 parent c239e32 commit 24f105a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

symengine/lib/symengine_wrapper.pyx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1377,6 +1377,10 @@ cdef class Abs(Function):
13771377
return abs(arg)
13781378

13791379
cdef class _Max(Function):
1380+
'''
1381+
Class named as such to prevent namespace issues with
1382+
Python's min. Import as Min for aesthetics.
1383+
'''
13801384

13811385
def _sympy_(self):
13821386
cdef RCP[const symengine.Max] X = \
@@ -1399,6 +1403,10 @@ cdef class _Max(Function):
13991403
return sage.max(*s)
14001404

14011405
cdef class _Min(Function):
1406+
'''
1407+
Class named as such to prevent namespace issues with
1408+
Python's min. Import as Min for aesthetics.
1409+
'''
14021410

14031411
def _sympy_(self):
14041412
cdef RCP[const symengine.Min] X = \

0 commit comments

Comments
 (0)