/usr/local/lib64/python3.6/site-packages/flask/__pycache__
Edit: /usr/local/lib64/python3.6/site-packages/flask/__pycache__/ctx.cpython-36.pyc (15441B)
3
^TBgD @ s d dl Z d dlZd dlmZ d dlmZ d dlmZ ddl m
Z
ddl mZ ddlm
Z
dd lmZ dd
lmZ ejrddlmZ ddlmZ dd
lmZ e ZG dd dZeedddZejejdddZedddZedddZG dd dZ G dd dZ!dS ) N)update_wrapper)
TracebackType)
HTTPException )_app_ctx_stack)_request_ctx_stack)appcontext_popped)appcontext_pushed)AfterRequestCallable)Flask)SessionMixin)Requestc @ s e Zd ZdZeejdddZeejddddZeddd d
Z deej
ej ejddd
ZefeejejdddZ
deejejdddZeedddZeje dddZedddZdS )_AppCtxGlobalsa A plain object. Used as a namespace for storing data during an
application context.
Creating an app context automatically creates this object, which is
made available as the :data:`g` proxy.
.. describe:: 'key' in g
Check whether an attribute is present.
.. versionadded:: 0.10
.. describe:: iter(g)
Return an iterator over the attribute names.
.. versionadded:: 0.10
)namereturnc C s. y
| j | S tk
r( t|d Y nX d S )N)__dict__KeyErrorAttributeError)selfr r */tmp/pip-build-0s3hx122/flask/flask/ctx.py__getattr__/ s
z_AppCtxGlobals.__getattr__N)r valuer c C s || j |<