Browse Source

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."
pull/1064/head
kekumu 11 years ago committed by Nicholas Chang
parent
commit
305ccd5df9
  1. 2
      docs/advanced_foreword.rst

2
docs/advanced_foreword.rst

@ -8,7 +8,7 @@ Thread-Locals in Flask
One of the design decisions in Flask was that simple tasks should be simple; 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 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 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 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 order to stay threadsafe. This approach is convenient, but requires a valid

Loading…
Cancel
Save