HEX
Server: LiteSpeed
System: Linux pl-rocket-da1.hostsila.org 4.18.0-477.27.2.lve.el8.x86_64 #1 SMP Wed Oct 11 12:32:56 UTC 2023 x86_64
User: etorby24eu (1588)
PHP: 8.3.23
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: //usr/lib/python2.7/site-packages/click/globals.pyc
�
o�Dac@sGddlmZe�Zed�Zd�Zd�Zdd�ZdS(i����(tlocalcCsBytjdSWn,ttfk
r=|s>td��q>nXdS(s�Returns the current click context.  This can be used as a way to
    access the current context object from anywhere.  This is a more implicit
    alternative to the :func:`pass_context` decorator.  This function is
    primarily useful for helpers such as :func:`echo` which might be
    interested in changing its behavior based on the current context.

    To push the current context, :meth:`Context.scope` can be used.

    .. versionadded:: 5.0

    :param silent: if set to `True` the return value is `None` if no context
                   is available.  The default behavior is to raise a
                   :exc:`RuntimeError`.
    i����s!There is no active click context.N(t_localtstacktAttributeErrort
IndexErrortRuntimeError(tsilent((s,/tmp/pip-build-W6Gm0N/click/click/globals.pytget_current_contexts
cCs tjjdg�j|�dS(s*Pushes a new context to the current stack.RN(Rt__dict__t
setdefaulttappend(tctx((s,/tmp/pip-build-W6Gm0N/click/click/globals.pytpush_contextscCstjj�dS(s%Removes the top level from the stack.N(RRtpop(((s,/tmp/pip-build-W6Gm0N/click/click/globals.pytpop_context!scCs6|dk	r|Stdt�}|dk	r2|jSdS(s�"Internal helper to get the default value of the color flag.  If a
    value is passed it's returned unchanged, otherwise it's looked up from
    the current context.
    RN(tNoneRtTruetcolor(RR((s,/tmp/pip-build-W6Gm0N/click/click/globals.pytresolve_color_default&s
N(	t	threadingRRtFalseRRRRR(((s,/tmp/pip-build-W6Gm0N/click/click/globals.pyt<module>s