Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I may be wrong, but after reading the grammar I think your example is a syntax error. You can't access an element! A pattern syntax is completely different to a normal expression, and there is apparently no array access.


hmm, so I would need to use some namespace class https://docs.python.org/3.8/library/types.html#types.SimpleN...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: