관리-도구
편집 파일: source.cpython-311.pyc
� �܋fA� � �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.6/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&