On 4/13/2017 2:20 PM, Steven D'Aprano wrote:
Notice that I said *discourage* rather than *deprecate*.
Quoting the documentation:
The operator module exports a set of efficient functions
corresponding to the intrinsic operators of Python. For
example, operator.add(x, y) is equivalent
+1
On Apr 13, 2017 11:26 AM, "Steven D'Aprano" wrote:
> Notice that I said *discourage* rather than *deprecate*.
>
> Quoting the documentation:
>
> The operator module exports a set of efficient functions
> corresponding to the intrinsic operators of Python. For
> example, operator.a
Notice that I said *discourage* rather than *deprecate*.
Quoting the documentation:
The operator module exports a set of efficient functions
corresponding to the intrinsic operators of Python. For
example, operator.add(x, y) is equivalent to the expression
x+y. The function name