✏️ 正在编辑: source.cpython-311.pyc
路径:
/opt/cloudlinux/venv/lib/python3.11/site-packages/dill/__pycache__/source.cpython-311.pyc
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
� �|oiA� � �z � d Z g d�ZddlZddlZddlmZmZmZmZm Z m Z mZmZm Z mZmZmZmZ ddlmZ ddlmZ d� Zd � Zd � Zd� Zd(d �Zd)d�Z d*d�Zd� Zd� Zd� Zd� Z d+d�Z!d,d�Z"d,d�Z# e$� � Z% e&� � Z'd� Z(d-d�Z)d.d�Z*d)d�Z+d� Z,d/d�Z-d0d �Z. d1d!�Z/d2d"�Z0d-d#�Z1d3d$�Z2d/d%�Z3d)d&�Z4d4d'�Z5e+Z6eZ7dS )5a; Extensions to python's 'inspect' module, which can be used to retrieve information from live python objects. The methods defined in this module are augmented to facilitate access to source code of interactively defined functions and classes, as well as provide access to source code for objects defined in a file. )� findsource�getsourcelines� getsource�indent�outdent�_wrap� dumpsource�getname� _namespace� getimport�_importable� importable� isdynamic� isfrommain� N) �getblock�getfile� getmodule� getsourcefile� indentsize� isbuiltin�isclass�iscode�isframe� isfunction�ismethod�ismodule�istraceback)� TokenError� )� IS_IPYTHONc �B � t | � � }|r |j dk rdS dS )z%check if object was built in __main__�__main__TF)r �__name__)�obj�modules �]/builddir/build/BUILD/cloudlinux-venv-1.0.10/venv/lib/python3.11/site-packages/dill/source.pyr r # s+ � � �s�^�^�F� � �&�/�Z�/�/��t��5� c �x � t | � � }n# t $ r d}Y nw xY w|dk rt | � � rdS dS )z,check if object was built in the interpreterN�<stdin>TF)r � TypeErrorr )r$ �files r&