Re: [Python-ideas] Left arrow and right arrow operators

2019-03-13 Thread David Teresi
`->` would not be ambiguous in the proposed cases, but it does already mean something elsewhere in the language as of 3.5: def concat(a: str, b: str) -> str: return a + b This could potentially cause confusion (as with the % operator being used for modulo as well as string formatting). On Tu

Re: [Python-ideas] Left arrow and right arrow operators

2019-03-13 Thread Dan Sommers
On 3/13/19 1:44 PM, David Teresi wrote: `->` would not be ambiguous in the proposed cases, but it does already mean something elsewhere in the language as of 3.5: def concat(a: str, b: str) -> str: return a + b This could potentially cause confusion (as with the % operator being used for m