File: bad.py

package info (click to toggle)
python-tornado 6.5.2-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 3,176 kB
  • sloc: python: 28,920; javascript: 156; sh: 100; ansic: 72; xml: 49; makefile: 49; sql: 23
file content (6 lines) | stat: -rw-r--r-- 146 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
from tornado.web import RequestHandler


class MyHandler(RequestHandler):
    def get(self) -> str:  # Deliberate type error
        return "foo"