Hacker News new | past | comments | ask | show | jobs | submit login

It's using function annotations as a way to describe which URL to route to. Function annotations aren't used by anything in Python3 by default, so it's one possible way to do that.



I would prefer to use a decorator for that.




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

Search: