Skip to content
Myr

Merge pull request #1610 from lord63-forks/fix-typo

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

Fix typo in app_ctx_globals_class doc in app.py

authored by David Lord · committed by David Lord · parents 8789c94, 1d49343 · 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:flask/app.py+1 added-1 removed
166 unmodified lines
167 #: Example use cases for a custom class:168 #:169 #: 1. Store arbitrary attributes on flask.g.170 #: 2. Add a property for lazy per-request database connectors.171 #: 3. Return None instead of AttributeError on expected attributes.171 #: 3. Return None instead of AttributeError on unexpected attributes.172 #: 4. Raise exception if an unexpected attr is set, a "controlled" flask.g.173 #:174 #: In Flask 0.9 this property was called `request_globals_class` but it175 #: was changed in 0.10 to :attr:`app_ctx_globals_class` because the
1810 unmodified lines