Skip to content
Myr

docs: Finished sentence on Notes on Proxies.

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

authored by Ron DuPlain · committed by Armin Ronacher · parent 1e4e578 · Browse files · 1 file+2 added−2 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+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:docs/api.rst+2 added-2 removed
419 unmodified lines
420Notes On Proxies421----------------422423Some of the objects provided by Flask are proxies to other objects. The424reason behind this is, that these proxies are shared between threads and424reason behind this is that these proxies are shared between threads and425they have to dispatch to the actual object bound to a thread behind the426scenes as necessary.427428Most of the time you don't have to care about that, but there are some429exceptions where it is good to know that this object is an actual proxy:430431- The proxy objects do not fake their inherited types, so if you want to432 perform actual instance checks, you have to do that on the instance433 that433 that is being proxied (see `_get_current_object` below).434- if the object reference is important (so for example for sending435 :ref:`signals`)436437If you need to get access to the underlying object that is proxied, you
4 unmodified lines