Browse Source

Update docs that request is an object, not a class (#2154)

Cleanup sphinx formatting to show that `request` is an object, not a class. The actual class name is `Request`.

Based on discussion [here](https://github.com/pallets/flask/pull/2151#issuecomment-272699147).
pull/1493/merge
Jeff Widman 8 years ago committed by Markus Unterwaditzer
parent
commit
fe7910ccd5
  1. 2
      docs/api.rst

2
docs/api.rst

@ -66,7 +66,7 @@ Incoming Request Data
============= ======================================================
.. class:: request
.. attribute:: request
To access incoming request data, you can use the global `request`
object. Flask parses incoming request data for you and gives you

Loading…
Cancel
Save