Message352418
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). |
|
Date |
User |
Action |
Args |
2019-09-14 07:07:31 | Juan Telleria2 | set | recipients:
+ Juan Telleria2, gvanrossum, steven.daprano, Maria Alguea |
2019-09-14 07:07:30 | Juan Telleria2 | set | messageid: <1568444850.99.0.00933109608858.issue38052@roundup.psfhosted.org> |
2019-09-14 07:07:30 | Juan Telleria2 | link | issue38052 messages |
2019-09-14 07:07:30 | Juan Telleria2 | create | |
|