forked from orbit-oss/flask
Update advanced_foreword.rst
I think the doc is supposed to read, "Because of that, Flask has a few design choices that some people might find surprising or unorthodox." Otherwise, it could possibly mean, "Because of that, Flask has few design choices that people would find surprising or unorthodox." Or perhaps even less ambiguous, "Because of that, Flask has few surprising or unorthodox design choices."
This commit is contained in:
parent
da1c1f0d7f
commit
305ccd5df9
1 changed files with 1 additions and 1 deletions
|
|
@ -8,7 +8,7 @@ Thread-Locals in Flask
|
|||
|
||||
One of the design decisions in Flask was that simple tasks should be simple;
|
||||
they should not take a lot of code and yet they should not limit you. Because
|
||||
of that, Flask has few design choices that some people might find surprising or
|
||||
of that, Flask has a few design choices that some people might find surprising or
|
||||
unorthodox. For example, Flask uses thread-local objects internally so that you
|
||||
don’t have to pass objects around from function to function within a request in
|
||||
order to stay threadsafe. This approach is convenient, but requires a valid
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue