Plan 9 from Bell Labs’s /usr/web/sources/contrib/stallion/root/sys/lib/python2.7/lib-tk/FixTk.pyc

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


�`^c@sJddlZddlZyddlZejjjWn eefk
rWd�Zn
Xd�Zej	j
ejd�Zej	je�s�ej	j
ejej	j
dd�Zej	je�Znej	je�rFee�ZdejkrWxceje�D]OZejd�rej	j
ee�Zej	je�rPeejd<qPqqWnddlZeej�Zdejkr�ej	j
ed	e�Zej	jej	j
ed
��r�eejd<q�ndejkrFxceje�D]OZejd�r�j	j
ee�Zej	je�r<eejd<q<q��qFndS(
i�NcCs|S(N((ts((s"/sys/lib/python2.7/lib-tk/FixTk.pytconvert_pathscCst|t�st�|jd�}tjjj|dddddd�}|dkr[|Stj	dd�}tjjj
||t|�d	�}tjjj|�|d	kr�|S|| j
d�}|jd
�r�d}n|jd�rd
|d}n|S(Ntmbcsi�iiii�ui�is\\?\itUNCs\(t
isinstancetstrtAssertionErrortdecodetctypestwindlltkernel32tCreateFileWtNonetcreate_unicode_buffertGetFinalPathNameByHandleWtlentCloseHandletencodet
startswith(Rtudirthdirtbuftres((s"/sys/lib/python2.7/lib-tk/FixTk.pyRs.		
ttclttcltktlibtTCL_LIBRARYt
TK_LIBRARYttkttclIndextTIX_LIBRARYttix(tsystosRR	R
RtImportErrortAttributeErrorRtpathtjointprefixtexiststpardirtabspathtenvirontlistdirtnameRttcldirtisdirt_tkinterRtTCL_VERSIONtvertvttixdir(((s"/sys/lib/python2.7/lib-tk/FixTk.pyt<module>s<

	$!

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].