[issue38052] Include sspipe Module with Core Python

Juan Telleria report at bugs.python.org
Sat Sep 14 03:07:30 EDT 2019


Juan Telleria <jtelleriar at gmail.com> added the comment:

And based on previous example, a more "pythonic" syntax would:

MyObj = Class \
   .method1() \
   .f_function1() \
   .method2() \
   .f_function2(param1 = "A", param2 = .)

So that any function preceded by a dot "." becomes a forward-pipe function (Object reference is passed forward).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38052>
_______________________________________


More information about the Python-bugs-list mailing list