MMCT TEAM
Server IP : 111.118.215.189  /  Your IP : 216.73.216.234
Web Server : Apache
System : Linux md-in-83.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : a1673wkz ( 2475)
PHP Version : 8.2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /usr/lib64/python2.7/site-packages/mercurial/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //usr/lib64/python2.7/site-packages/mercurial/py3kcompat.pyc
�
Hq�Qc@s�ddlZddlZddlmZd�Zee_xUeejj��D]>Zej	dd�Z
ejej	dd�Zeeje
<qPWejZ
d�Zee_edkr�ddlZej�ndS(i����N(tNumbercCs�t|t�r||St|t�r;|jdd�}nt|t�r_|jdd�}nt|t�r�g}x?|D]7}t|t�r�|jdd�}n|j|�q{Wt|�}n||}|jdd�S(s\Custom implementation of a formatter for bytestrings.

    This function currently relies on the string formatter to do the
    formatting and always returns bytes objects.

    >>> bytesformatter(20, 10)
    0
    >>> bytesformatter('unicode %s, %s!', ('string', 'foo'))
    b'unicode string, foo!'
    >>> bytesformatter(b'test %s', 'me')
    b'test me'
    >>> bytesformatter('test %s', 'me')
    b'test me'
    >>> bytesformatter(b'test %s', b'me')
    b'test me'
    >>> bytesformatter('test %s', b'me')
    b'test me'
    >>> bytesformatter('test %d: %s', (1, b'result'))
    b'test 1: result'
    sutf-8tsurrogateescape(t
isinstanceRtbytestdecodettupletappendtencode(tformattargstnewargstargtret((s:/usr/lib64/python2.7/site-packages/mercurial/py3kcompat.pytbytesformatters

sutf-8RcCst|t�r|St|�S(N(Rtinttorigord(tchar((s:/usr/lib64/python2.7/site-packages/mercurial/py3kcompat.pytfakeord?st__main__(tostbuiltinstnumbersRR
tlisttenvirontkeystkeyRtbkeytbvaluetordRRt__name__tdoctestttestmod(((s:/usr/lib64/python2.7/site-packages/mercurial/py3kcompat.pyt<module>s	)				

MMCT - 2023