Skip to content

Commit 1a40d9b

Browse files
sprutnerdavidism
authored andcommitted
fix grammar in links to app and request context
1 parent b4094b3 commit 1a40d9b

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

docs/appcontext.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ a request, CLI command, or other activity. Rather than passing the
88
application around to each function, the :data:`current_app` and
99
:data:`g` proxies are accessed instead.
1010

11-
This is similar to the :doc:`/reqcontext`, which keeps track of
11+
This is similar to :doc:`/reqcontext`, which keeps track of
1212
request-level data during a request. A corresponding application context
1313
is pushed when a request context is pushed.
1414

docs/reqcontext.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ request. Rather than passing the request object to each function that
88
runs during a request, the :data:`request` and :data:`session` proxies
99
are accessed instead.
1010

11-
This is similar to the :doc:`/appcontext`, which keeps track of the
11+
This is similar to :doc:`/appcontext`, which keeps track of the
1212
application-level data independent of a request. A corresponding
1313
application context is pushed when a request context is pushed.
1414

@@ -33,8 +33,8 @@ Lifetime of the Context
3333
-----------------------
3434

3535
When a Flask application begins handling a request, it pushes a request
36-
context, which also pushes an :doc:`/appcontext`. When the request ends
37-
it pops the request context then the application context.
36+
context, which also pushes an :doc:`app context </appcontext>`. When the
37+
request ends it pops the request context then the application context.
3838

3939
The context is unique to each thread (or other worker type).
4040
:data:`request` cannot be passed to another thread, the other thread

docs/shell.rst

+1-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ that these functions are not only there for interactive shell usage, but
2121
also for unit testing and other situations that require a faked request
2222
context.
2323

24-
Generally it's recommended that you read the :doc:`reqcontext`
25-
chapter of the documentation first.
24+
Generally it's recommended that you read :doc:`reqcontext` first.
2625

2726
Command Line Interface
2827
----------------------

0 commit comments

Comments
 (0)