Merge remote-tracking branch 'origin/1.1.x'

This commit is contained in:
David Lord 2020-02-10 18:29:43 -08:00
commit 07556da918
No known key found for this signature in database
GPG key ID: 7A1C87E3F5BC42A8
2 changed files with 6 additions and 3 deletions

View file

@ -256,8 +256,9 @@ exceptions where it is good to know that this object is actually a proxy:
- The proxy objects cannot fake their type as the actual object types.
If you want to perform instance checks, you have to do that on the
object being proxied.
- If the specific object reference is important, for example for
sending :ref:`signals` or passing data to a background thread.
- The reference to the proxied object is needed in some situations,
such as sending :ref:`signals` or passing data to a background
thread.
If you need to access the underlying object that is proxied, use the
:meth:`~werkzeug.local.LocalProxy._get_current_object` method::