add-determinism 0.7.3

RPM buildroot helper to strip nondeterministic bits in files
Documentation
3

�
�^+c@s@dZddlZGdd�de�ZGdd�de�ZGdd�de�ZdS)	z=
The objects used by the site module to add custom builtins.
�Nc@s&eZdZdd�Zdd�Zddd�ZdS)	�QuittercCs||_||_dS�N��name�eof)�selfrr�r�%/usr/lib64/python3.6/_sitebuiltins.py�__init__szQuitter.__init__cCsd|j|jfS)NzUse %s() or %s to exitr�rrrr�__repr__�zQuitter.__repr__Nc	Cs(ytjj�WnYnXt|��dSr)�sysZstdinZcloseZ
SystemExit)rZcoderrr�__call__s
zQuitter.__call__r)�__name__�
__module__�__qualname__r	rrrrrrr
src@s:eZdZdZdZfffdd�Zdd�Zdd�Zd	d
�ZdS)�_Printerzninteractive prompt objects for printing the license text, a list of
    contributors and the copyright notice.ics4ddl�||_||_d|_��fdd�|D�|_dS)Nrcs$g|]}�D]}�jj||��qqSr)Zpath�join)Z.0Zdir�filename��files�osrrz
<listcomp>(sz%_Printer.__init__.<locals>.<listcomp>)r�_Printer__name�_Printer__data�_Printer__lines�_Printer__filenames)rr�datarZdirsrrrr	#sz_Printer.__init__cCs~|jr
dSd}xH|jD]>}y$t|d��}|j�}WdQRXPWqtk
rRYqXqW|sb|j}|jd�|_t|j�|_dS)NZr�
)	rrZopenZreadZOSErrorrZsplit�lenZ_Printer__linecnt)rrrZfprrrZ__setup,s
z_Printer.__setupcCs8|j�t|j�|jkr$dj|j�Sd|jfdSdS)Nrz!Type %s() to see the full %s texti)�_Printer__setuprr�MAXLINESrrr
rrrr<sz_Printer.__repr__cCs�|j�d}d}x�y,x&t|||j�D]}t|j|�q&WWntk
rTPYqX||j7}d}x |dkr�t|�}|dkrfd}qfW|dkrPqWdS)Nz0Hit Return for more, or q (and Return) to quit: r��q)r!r")rZranger ZprintrZ
IndexErrorZinput)rZpromptZlinenoZiZkeyrrrrCs"

z_Printer.__call__N)	rrr�__doc__r r	rrrrrrrrs	rc@s eZdZdZdd�Zdd�ZdS)�_Helpera3Define the builtin 'help'.

    This is a wrapper around pydoc.help that provides a helpful message
    when 'help' is typed at the Python interactive prompt.

    Calling help() at the Python prompt starts an interactive help session.
    Calling help(thing) prints help for the python object 'thing'.
    cCsdS)NzHType help() for interactive help, or help(object) for help about object.rr
rrrrbrz_Helper.__repr__cOsddl}|j||�S)Nr)�pydocZhelp)rZargsZkwdsr%rrrresz_Helper.__call__N)rrrr#rrrrrrr$Xsr$)r#r
Zobjectrrr$rrrrZ<module>s;