Critics have remarked that those four worthies were truly peerless throughout the ages; yet the present falls short of the pastβthe ancients favored unadorned simplicity, whereas the moderns prefer refined elegance. Styles of substance and ornament rise and fall in succession, shifting with the changing mores of the times; such evolution is simply the natural order of things. The ideal lies in honoring antiquity without clashing with the present, and embracing modernity without succumbing to its flawsβembodying that perfect balance of substance and refinement that defines the true gentleman. There is surely no need to abandon a carved palace in favor of a cave dwelling, or to trade a jade carriage for a primitive cart with solid wooden wheels.
Current path: lib64/python3.6/__pycache__/
β¬οΈ Go up: /lib64/python3.6
3
\j3 οΏ½ @ sοΏ½ d Z ddlZddlZddlZddlmZ ddlmZ ddddd d
ddgZG d
dοΏ½ dej οΏ½Z
G ddοΏ½ deοΏ½ZG ddοΏ½ dee
οΏ½Z
ddοΏ½ ZG ddοΏ½ de
οΏ½ZG ddοΏ½ de
οΏ½ZG dd
οΏ½ d
eοΏ½ZG ddοΏ½ deοΏ½ZG ddοΏ½ de
οΏ½ZG dd οΏ½ d e
οΏ½ZdS )z4Utilities for with-statement contexts. See PEP 343.οΏ½ N)οΏ½deque)οΏ½wrapsοΏ½contextmanagerοΏ½closingοΏ½AbstractContextManagerοΏ½ContextDecoratorοΏ½ ExitStackοΏ½redirect_stdoutοΏ½redirect_stderrοΏ½suppressc @ s2 e Zd ZdZddοΏ½ ZejddοΏ½ οΏ½ZeddοΏ½ οΏ½Z dS ) r z,An abstract base class for context managers.c C s | S )z0Return `self` upon entering the runtime context.οΏ½ )οΏ½selfr r οΏ½"/usr/lib64/python3.6/contextlib.pyοΏ½ __enter__ s z AbstractContextManager.__enter__c C s dS )z9Raise any exception triggered within the runtime context.Nr )r
οΏ½exc_typeοΏ½ exc_valueοΏ½ tracebackr r r οΏ½__exit__ s zAbstractContextManager.__exit__c C s | t krtj|ddοΏ½S tS )Nr r )r οΏ½_collections_abcοΏ½_check_methodsοΏ½NotImplemented)οΏ½clsοΏ½Cr r r οΏ½__subclasshook__ s z'AbstractContextManager.__subclasshook__N)
οΏ½__name__οΏ½
__module__οΏ½__qualname__οΏ½__doc__r οΏ½abcοΏ½abstractmethodr οΏ½classmethodr r r r r r
s c @ s e Zd ZdZddοΏ½ ZddοΏ½ ZdS )r zJA base class or mixin that enables context managers to work as decorators.c C s | S )a6 Return a recreated instance of self.
Allows an otherwise one-shot context manager like
_GeneratorContextManager to support use as
a decorator via implicit recreation.
This is a private interface just for _GeneratorContextManager.
See issue #11647 for details.
r )r
r r r οΏ½_recreate_cm$ s
zContextDecorator._recreate_cmc s t οΏ½ οΏ½οΏ½ οΏ½fddοΏ½οΏ½}|S )Nc
s οΏ½j οΏ½ οΏ½ οΏ½ | |οΏ½S Q R X d S )N)r! )οΏ½argsοΏ½kwds)οΏ½funcr
r r οΏ½inner1 s
z(ContextDecorator.__call__.<locals>.inner)r )r
r$ r% r )r$ r
r οΏ½__call__0 s zContextDecorator.__call__N)r r r r r! r&