[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@3.145.70.108: ~ $


���]��@s�ddlZddljZddlZddlZejZGdd�d�Ze�Z	ej
ZGdd�dej�Z
Gdd�dej�Zedkr�ejd	d
dd�dS)
�Nc@s�eZdZdZddd�Zde_dd�Zde_dd	d
�Zde_dd
�Zde_dd�Zde_ddd�Z	de	_dd�Z
de
_dd�Zde_edd��Z
edd��ZdS)�TCz
(ai=None, *b)NcGsdS)N�)�self�ai�brr�2/opt/alt/python35/lib64/python3.5/test_calltips.py�__init__szTC.__init__z(self, ai=None, *b)cCsdS)Nr)rrrr�t1szTC.t1z(self)cCsdS)Nr)rrrrrr�t2szTC.t2z(self, ai, b=None)cGsdS)Nr)rr�argsrrr�t3szTC.t3z(self, ai, *args)cGsdS)Nr)rrrrr�t4szTC.t4z
(self, *args)cOsdS)Nr)rrrr�kwrrr�t5szTC.t5z(self, ai, b=None, *args, **kw)cCsdS)Nr)�norrrr�t6szTC.t6z
(no, self)cCsdS)Nr)r�cirrr�__call__szTC.__call__z
(self, ci)cCsdS)Nr)�cls�arrr�cmszTC.cmcCsdS)Nr)rrrr�smszTC.sm)�__name__�
__module__�__qualname__�tiprr	r
rr
rrr�classmethodr�staticmethodrrrrrr	s&								rc@s�eZdZdd�Zdd�Zdd�Zdd�Zd	d
�Zdd�Zd
d�Z	dd�Z
dd�Zdd�Zdd�Z
dd�ZdS)�Get_signatureTestcs�Gdd�dt�}Gdd�d�}�fdd�}|jdk	rZ|||j�|tjd�|tjd�d	}|tj|�|gj|�||j|�|tjd
�||�t�dS)Nc@seZdZdS)z-Get_signatureTest.test_builtins.<locals>.ListN)rrrrrrr�List0src@seZdZdZdS)z+Get_signatureTest.test_builtins.<locals>.SBN)rrrrrrrr�SB2sr cs�jt|�|�dS)N)�assertEqual�	signature)�obj�out)rrr�gtest4sz.Get_signatureTest.test_builtins.<locals>.gtestzGCreate and return a new object.  See help(type) for accurate signature.z>Initialize self.  See help(type(self)) for accurate signature.z0L.append(object) -> None -- append object to endzmethod(function, instance))�list�__doc__�__new__r�append�types�
MethodType�default_tip)rrr r%Z
append_docr)rr�
test_builtins-s		zGet_signatureTest.test_builtinscCs/tjjdk	r+|jttj�d�dS)Nz�(width=70, initial_indent='', subsequent_indent='', expand_tabs=True,
    replace_whitespace=True, fix_sentence_endings=False, break_long_words=True,
    drop_whitespace=True, break_on_hyphens=True, tabsize=8, *, max_lines=None,
    placeholder=' [...]'))�textwrap�TextWrapperr'r!r")rrrr�test_signature_wrapEsz%Get_signatureTest.test_signature_wrapcCsFdd�}dd|_|jt|�ddtjdd�dS)NcSsdS)Nrrrrr�fNsz4Get_signatureTest.test_docline_truncation.<locals>.fri,z()
�z...)r'r!r"�ctZ	_MAX_COLS)rr1rrr�test_docline_truncationMs
z)Get_signatureTest.test_docline_truncationcCsj|jtt�d�|jtt�d�dd�}dd|_|jt|�ddtj�dS)	NzUlist() -> new empty list
list(iterable) -> new list initialized from iterable's itemsz�bytes(iterable_of_ints) -> bytes
bytes(string, encoding[, errors]) -> bytes
bytes(bytes_or_buffer) -> immutable copy of bytes_or_buffer
bytes(int) -> bytes object of size given by the parameter initialized with null bytes
bytes() -> empty bytes objectcSsdS)Nrrrrrr1asz5Get_signatureTest.test_multiline_docstring.<locals>.fza
�z()z
a)r!r"r&�bytesr'r3Z
_MAX_LINES)rr1rrr�test_multiline_docstringRs
z*Get_signatureTest.test_multiline_docstringcCs�dd�}d|_ddd�}d|_dd�}d	|_d
d�}d|_dd
d�}d|_|jdk	r�dnd}x=|||||tfD]#}|jt|�|j|�q�WdS)NcSsdS)Nrrrrrr	fsz,Get_signatureTest.test_functions.<locals>.t1z()cSsdS)Nr)rrrrrr
hsz,Get_signatureTest.test_functions.<locals>.t2z(a, b=None)cWsdS)Nr)rrrrrrjsz,Get_signatureTest.test_functions.<locals>.t3z
(a, *args)cWsdS)Nr)rrrrr
lsz,Get_signatureTest.test_functions.<locals>.t4z(*args)c_sdS)Nr)rrrrrrrrnsz,Get_signatureTest.test_functions.<locals>.t5z(a, b=None, *args, **kw)z
doc�)rr'rr!r")rr	r
rr
r�doc�funcrrr�test_functionses					z Get_signatureTest.test_functionscCs�tjdk	rdnd}xUtjtjtjtjtjtjtjfD]#}|j	t
|�|j|�qLW|j	t
tj�d|�|j	t
tj
�d|�dS)Nz
docr8z(a)z(b))rr'r	r
rr
rrrr!r"rrr)rr9�methrrr�test_methodsus
7!zGet_signatureTest.test_methodscCs�tjdk	rdnd}xstjdftjdftjdftjdftdftjdffD]&\}}|jt	|�||�qgWdS)Nz
docr8z()z(*args)z(self)z(ci)z(a))
rr'�tcr	r
rrrr!r")rr9r<�mtiprrr�test_bound_methods|s'1z$Get_signatureTest.test_bound_methodscCs}Gdd�d�}|�}xZ|jdf|jdf|jdf|jdffD]"\}}|jt|�|�qSWdS)Nc@s(eZdZdd�Zdd�ZdS)z3Get_signatureTest.test_starred_parameter.<locals>.CcWsdS)Nr)rrrr�m1�sz6Get_signatureTest.test_starred_parameter.<locals>.C.m1c[sdS)Nr)�kwdsrrr�m2�sz6Get_signatureTest.test_starred_parameter.<locals>.C.m2N)rrrrArCrrrr�C�srDz(*args)z(**kwds))rArCr!r")rrD�cr<r?rrr�test_starred_parameter�s
	(z(Get_signatureTest.test_starred_parametercCs
d}dS)Nu(AΑАאاअḀあ, a)r)rZunirrr�test_non_ascii_name�sz%Get_signatureTest.test_non_ascii_namecCsadd�}|t_|jt|�d�|jttj�d�|jttj�d�dS)NcSsdS)Nr)�srrr�nd�sz/Get_signatureTest.test_no_docstring.<locals>.ndz(s)z())rrIr!r"r>)rrIrrr�test_no_docstring�s
	z#Get_signatureTest.test_no_docstringcCs�Gdd�d�}Gdd�d|�}xT|tf|tf|�df|�dffD]"\}}|jt|�|�qZWdS)Nc@seZdZdd�ZdS)z:Get_signatureTest.test_attribute_exception.<locals>.NoCallcSs
t�dS)N)�
BaseException)r�namerrr�__getattr__�szFGet_signatureTest.test_attribute_exception.<locals>.NoCall.__getattr__N)rrrrMrrrr�NoCall�srNc@seZdZdd�ZdS)z8Get_signatureTest.test_attribute_exception.<locals>.CallcSsdS)Nr)rrrrrr�szAGet_signatureTest.test_attribute_exception.<locals>.Call.__call__N)rrrrrrrr�Call�srOr8z(ci))r,r!r")rrNrOr<r?rrr�test_attribute_exception�s
(z*Get_signatureTest.test_attribute_exceptioncCs=x6ddddgifD]}|jt|�d�qWdS)Nrg�0�0r8)r!r")rr#rrr�test_non_callables�sz$Get_signatureTest.test_non_callablesN)rrrr-r0r4r7r;r=r@rFrGrJrPrSrrrrr%s
rc@s(eZdZdd�Zdd�ZdS)�Get_entityTestcCs|jtjd��dS)Nz1/0)ZassertIsNoner3�
get_entity)rrrr�test_bad_entity�szGet_entityTest.test_bad_entitycCs|jtjd�t�dS)N�int)ZassertIsr3rUrW)rrrr�test_good_entity�szGet_entityTest.test_good_entityN)rrrrVrXrrrrrT�srT�__main__�	verbosity��exitF)ZunittestZidlelib.CallTipsZCallTipsr3r.r*Z_default_callable_argspecr,rr>Zget_argspecr"ZTestCaserrTr�mainrrrr�<module>s			�

Filemanager

Name Type Size Permission Actions
__init__.cpython-35.opt-1.pyc File 823 B 0644
__init__.cpython-35.opt-2.pyc File 496 B 0644
__init__.cpython-35.pyc File 823 B 0644
htest.cpython-35.opt-1.pyc File 11.44 KB 0644
htest.cpython-35.opt-2.pyc File 9.17 KB 0644
htest.cpython-35.pyc File 11.44 KB 0644
mock_idle.cpython-35.opt-1.pyc File 2.4 KB 0644
mock_idle.cpython-35.opt-2.pyc File 1.71 KB 0644
mock_idle.cpython-35.pyc File 2.4 KB 0644
mock_tk.cpython-35.opt-1.pyc File 11.12 KB 0644
mock_tk.cpython-35.opt-2.pyc File 6.29 KB 0644
mock_tk.cpython-35.pyc File 11.12 KB 0644
test_autocomplete.cpython-35.opt-1.pyc File 4.95 KB 0644
test_autocomplete.cpython-35.opt-2.pyc File 4.93 KB 0644
test_autocomplete.cpython-35.pyc File 4.95 KB 0644
test_autoexpand.cpython-35.opt-1.pyc File 4.13 KB 0644
test_autoexpand.cpython-35.opt-2.pyc File 4.06 KB 0644
test_autoexpand.cpython-35.pyc File 4.13 KB 0644
test_calltips.cpython-35.opt-1.pyc File 10.01 KB 0644
test_calltips.cpython-35.opt-2.pyc File 9.88 KB 0644
test_calltips.cpython-35.pyc File 10.09 KB 0644
test_config_help.cpython-35.opt-1.pyc File 4.31 KB 0644
test_config_help.cpython-35.opt-2.pyc File 4.23 KB 0644
test_config_help.cpython-35.pyc File 4.31 KB 0644
test_config_name.cpython-35.opt-1.pyc File 3.16 KB 0644
test_config_name.cpython-35.opt-2.pyc File 3.08 KB 0644
test_config_name.cpython-35.pyc File 3.16 KB 0644
test_configdialog.cpython-35.opt-1.pyc File 1.43 KB 0644
test_configdialog.cpython-35.opt-2.pyc File 1.27 KB 0644
test_configdialog.cpython-35.pyc File 1.43 KB 0644
test_delegator.cpython-35.opt-1.pyc File 1.1 KB 0644
test_delegator.cpython-35.opt-2.pyc File 1.09 KB 0644
test_delegator.cpython-35.pyc File 1.1 KB 0644
test_editmenu.cpython-35.opt-1.pyc File 2.88 KB 0644
test_editmenu.cpython-35.opt-2.pyc File 2.48 KB 0644
test_editmenu.cpython-35.pyc File 2.88 KB 0644
test_editor.cpython-35.opt-1.pyc File 1.19 KB 0644
test_editor.cpython-35.opt-2.pyc File 1.17 KB 0644
test_editor.cpython-35.pyc File 1.19 KB 0644
test_formatparagraph.cpython-35.opt-1.pyc File 12.41 KB 0644
test_formatparagraph.cpython-35.opt-2.pyc File 11.65 KB 0644
test_formatparagraph.cpython-35.pyc File 12.41 KB 0644
test_grep.cpython-35.opt-1.pyc File 3.08 KB 0644
test_grep.cpython-35.opt-2.pyc File 2.54 KB 0644
test_grep.cpython-35.pyc File 3.08 KB 0644
test_help_about.cpython-35.opt-1.pyc File 1.96 KB 0644
test_help_about.cpython-35.opt-2.pyc File 1.82 KB 0644
test_help_about.cpython-35.pyc File 1.96 KB 0644
test_hyperparser.cpython-35.opt-1.pyc File 8 KB 0644
test_hyperparser.cpython-35.opt-2.pyc File 7.81 KB 0644
test_hyperparser.cpython-35.pyc File 8 KB 0644
test_idlehistory.cpython-35.opt-1.pyc File 6.72 KB 0644
test_idlehistory.cpython-35.opt-2.pyc File 6.57 KB 0644
test_idlehistory.cpython-35.pyc File 6.72 KB 0644
test_io.cpython-35.opt-1.pyc File 8.76 KB 0644
test_io.cpython-35.opt-2.pyc File 8.75 KB 0644
test_io.cpython-35.pyc File 8.76 KB 0644
test_parenmatch.cpython-35.opt-1.pyc File 4.06 KB 0644
test_parenmatch.cpython-35.opt-2.pyc File 3.61 KB 0644
test_parenmatch.cpython-35.pyc File 4.06 KB 0644
test_pathbrowser.cpython-35.opt-1.pyc File 1.31 KB 0644
test_pathbrowser.cpython-35.opt-2.pyc File 1.29 KB 0644
test_pathbrowser.cpython-35.pyc File 1.31 KB 0644
test_percolator.cpython-35.opt-1.pyc File 5.18 KB 0644
test_percolator.cpython-35.opt-2.pyc File 5.13 KB 0644
test_percolator.cpython-35.pyc File 5.18 KB 0644
test_replacedialog.cpython-35.opt-1.pyc File 7.5 KB 0644
test_replacedialog.cpython-35.opt-2.pyc File 7.43 KB 0644
test_replacedialog.cpython-35.pyc File 7.5 KB 0644
test_rstrip.cpython-35.opt-1.pyc File 1.55 KB 0644
test_rstrip.cpython-35.opt-2.pyc File 1.54 KB 0644
test_rstrip.cpython-35.pyc File 1.55 KB 0644
test_searchdialog.cpython-35.opt-1.pyc File 2.42 KB 0644
test_searchdialog.cpython-35.opt-2.pyc File 2.34 KB 0644
test_searchdialog.cpython-35.pyc File 2.42 KB 0644
test_searchdialogbase.cpython-35.opt-1.pyc File 5.79 KB 0644
test_searchdialogbase.cpython-35.opt-2.pyc File 5.58 KB 0644
test_searchdialogbase.cpython-35.pyc File 5.79 KB 0644
test_searchengine.cpython-35.opt-1.pyc File 10.7 KB 0644
test_searchengine.cpython-35.opt-2.pyc File 10.61 KB 0644
test_searchengine.cpython-35.pyc File 10.7 KB 0644
test_text.cpython-35.opt-1.pyc File 6.86 KB 0644
test_text.cpython-35.opt-2.pyc File 6.84 KB 0644
test_text.cpython-35.pyc File 6.86 KB 0644
test_textview.cpython-35.opt-1.pyc File 3.86 KB 0644
test_textview.cpython-35.opt-2.pyc File 3.53 KB 0644
test_textview.cpython-35.pyc File 3.86 KB 0644
test_undodelegator.cpython-35.opt-1.pyc File 4.57 KB 0644
test_undodelegator.cpython-35.opt-2.pyc File 4.3 KB 0644
test_undodelegator.cpython-35.pyc File 4.57 KB 0644
test_warning.cpython-35.opt-1.pyc File 2.84 KB 0644
test_warning.cpython-35.opt-2.pyc File 2.5 KB 0644
test_warning.cpython-35.pyc File 2.84 KB 0644
test_widgetredir.cpython-35.opt-1.pyc File 5.49 KB 0644
test_widgetredir.cpython-35.opt-2.pyc File 5.4 KB 0644
test_widgetredir.cpython-35.pyc File 5.49 KB 0644