forked from orbit-oss/flask
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).
This commit is contained in:
parent
3fc8be5a4e
commit
fe7910ccd5
1 changed files with 1 additions and 1 deletions
|
|
@ -66,7 +66,7 @@ Incoming Request Data
|
||||||
============= ======================================================
|
============= ======================================================
|
||||||
|
|
||||||
|
|
||||||
.. class:: request
|
.. attribute:: request
|
||||||
|
|
||||||
To access incoming request data, you can use the global `request`
|
To access incoming request data, you can use the global `request`
|
||||||
object. Flask parses incoming request data for you and gives you
|
object. Flask parses incoming request data for you and gives you
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue