Skip to content
Myr

Added a missing note to the docs

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

authored by Armin Ronacher · committed by Armin Ronacher · parent c889fbc · Browse files · 1 file+3 added−0 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+3 added−0 removed

  • other:+3 added−0 removed

1 file+3 added−0 removed

modified:docs/api.rst+3 added
281 unmodified lines
282283 user = getattr(flask.g, 'user', None)284 user = flask.g.get('user', None)285286 It's now also possible to use the ``in`` operator on it to see if an287 attribute is defined and it yields all keys on iteration.288289 This is a proxy. See :ref:`notes-on-proxies` for more information.290291292Useful Functions and Classes
454 unmodified lines