Файловый менеджер - Редактировать - /home/digitalm/venv/lib/python3.7/site-packages/watchdog/utils/__pycache__/echo.cpython-37.pyc
Назад
B �P�g5 � @ s� d Z ddlmZ ddlZddlZdd� Zdd� Zdd � Zd d� Zdd � Z dd� Z ejjfdd�Z ejjfdd�Zejjfdd�Zejjfdd�Zedkr�ddlZejZejded� ejed� dS )a� Echo calls made to functions and methods in a module. "Echoing" a function call means printing out the name of the function and the values of its arguments before making the call (which is more commonly referred to as "tracing", but Python already has a trace module). Example: to echo calls made to functions in "my_module" do: import echo import my_module echo.echo_module(my_module) Example: to echo calls made to functions in "my_module.my_class" do: echo.echo_class(my_module.my_class) Alternatively, echo.echo can be used to decorate functions. Calls to the decorated function will be echoed. Example: @echo.echo def my_function(args): pass � )�annotationsNc C s | j S )zReturn an item's name.)�__name__)�item� r �I/home/digitalm-up/venv/lib/python3.7/site-packages/watchdog/utils/echo.py�name'