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

An other note: the @path decorator would probably use named groups instead of some sort of DSL, so

    r'(?P<uid>[0-9]+)'
(the `r` prefix is for `r`awstring, so the developer does not have to string-escape each backslash used in the regex among other things)


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

Search: