Skip to content
Myr

Update advanced_foreword.rst

Before adoption: this commit came in with the history the project adopted, so no landing records it.

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."

authored by kekumu · committed by Nicholas Chang · parent da1c1f0 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:docs/advanced_foreword.rst+1 added-1 removed
6 unmodified lines
7----------------------89One of the design decisions in Flask was that simple tasks should be simple;10they should not take a lot of code and yet they should not limit you. Because11of that, Flask has few design choices that some people might find surprising or11of that, Flask has a few design choices that some people might find surprising or12unorthodox. For example, Flask uses thread-local objects internally so that you13don’t have to pass objects around from function to function within a request in14order to stay threadsafe. This approach is convenient, but requires a valid15request context for dependency injection or when attempting to reuse code which
54 unmodified lines