New implementation(patterns)

Steve D'Aprano steve+python at pearwood.info
Sat Apr 15 20:59:18 EDT 2017


On Sun, 16 Apr 2017 05:34 am, Debiller 777 wrote:


> >>> &mypattern='<'str'>'

That's a syntax error. Are you sure that's the actual, real, working code
you are using?


> >>> def &mynewpattern:
> ...   return MyClass(list)

That's also a syntax error.




-- 
Steve
“Cheer up,” they said, “things could be worse.” So I cheered up, and sure
enough, things got worse.




More information about the Python-list mailing list