Repository URL to install this package:
|
Version:
1.0.11 ▾
|
wlanpi-profiler
/
opt
/
wlanpi-profiler
/
lib
/
python3.7
/
site-packages
/
coverage
/
__pycache__
/
python.cpython-37.pyc
|
|---|
B
®AâJÿ]ã @ sê d Z ddlZddlZddlZddlmZ ddlmZm Z ddl
mZmZ ddl
mZmZmZmZ ddlmZ ddlmZmZ dd lmZ eeZed
ddd
Zedddd Zedddd Zdd Zdd ZG dd deZdS )z'Python source expertise for coverage.pyé N)Úenv)ÚCoverageExceptionÚNoSource)Úcanonical_filenameÚrelative_filename)ÚcontractÚ expensiveÚisolate_moduleÚ
join_regex)ÚPythonParser)Úsource_token_linesÚsource_encoding)ÚFileReporterÚbytes)Úreturnsc C s@ t | d}| ¡ }W dQ R X tjr,t|}| dd¡ dd¡S )zFRead the Python source text from `filename`.
Returns bytes.
ÚrbNs
ó
ó
)ÚopenÚreadr Z
IRONPYTHONr Úreplace)ÚfilenameÚfÚsource© r ú/build/wlanpi-profiler-7IIg1Q/wlanpi-profiler-1.0.11/debian/wlanpi-profiler/opt/wlanpi-profiler/lib/python3.7/site-packages/coverage/python.pyÚread_python_source s
r Úunicodec C s´ t j | ¡\}}|dkr(tjr(ddg}n|g}xL|D ]4}|| }t j |¡rVt|}P t|}|dk r4P q4W td| d| dd¡}|
t|d¡}|r°|d d
kr°|d
7 }|S )z#Return the source code, as unicode.z.pyz.pywNzNo source for code: 'z'.ó ó r éÿÿÿÿÚ
)ÚosÚpathÚsplitextr ÚWINDOWSÚexistsr Ú
get_zip_bytesr r Údecoder
)r ÚbaseÚextÚextsZtry_filenamer r r r Úget_python_source&