Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

__div__

"""
Python magic method __div__ (supposed to be for object / object) is old
and only usable for Python 2.x. If you want to define a division for two
objects, use ___truediv__ or __floordiv__ instead.
"""
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
2+4 =