o
    <&i                     @   s:   d Z ddlZdedefddZdd Zh d	Zh d
ZdS )a2  List of Python standard library modules.

Sadly, there is no reliable way to tell whether a module is part of the
standard library except by comparing to a canonical list.

This is taken from https://github.com/PyCQA/isort/tree/develop/isort/stdlibs,
which itself is sourced from the Python documentation.
    Nmodulereturnc                 C   s   |  dd }|t v S )N.r   )	partition_get_stdlib_modules)r   base_module r   @C:\wamp64\www\opt\env\Lib\site-packages\torch/package/_stdlib.pyis_stdlib_module   s   
r
   c                   C   sb   t jjdkr t jjdkrtS t jjdkrtS t jjdkrt jS n	t jjdkr)t jS tdt j )N      	   
   zUnsupported Python version: )sysversion_infomajorminor	stdlib3_8	stdlib3_9stdlib_module_namesRuntimeErrorr   r   r   r	   r      s   r   >   nislocalereadlinecmathZdummy_threadingbinheximppickletoolsr   unittestdifflibttyquopri	fileinputspwdcopyregpkgutiltabnannyhashlibsmtplib	formattersunaugzip
compileallbisecttestrlcompleterospdbmsilibwarningssocketzlib	mimetypes
stringprepshutilnumbersdismodulefindershelvedoctestbuiltinsmailcapargparsesitesregettextmathdbmplatformrandomgetpassdecimalpoplib	threadingnntplib	sysconfigaudioop	encodingspydocctypes	distutilsfilecmpntpath
turtledemoemail
subprocessxmlrpc
statisticstextwrapgcwinregconfigparsershlexwsgirefdatetimerunpycontextvarstokenposix	functoolsplistlibbz2typingcmd	linecache	itertoolssslimghdrpwdjsonarraycolorsys	selectorscollectionscopyresource	sre_parse
concurrentcProfilesignalwave
webbrowser
contextlibmmapselectptysocketserverhmachttppathlibcodeopheapquuidtarfiletimecgitbwinsoundaifc	fractionsftplibuumsvcrtzipappoptparsemarshalvenvmultiprocessingossaudiodevimaplibunicodedatasmtpdsre_compilepipes	importlibmailboxturtleweakref	ensurepipschedcodefaulthandlercrypt	posixpathtracemallocbdbcsvsymtable	telnetlibxdrlibcalendarlzma_dummy_threadgetoptpickleoperatorsndhdrasynciotypessymbolsyslogsre_constants
py_compiledataclassesbinasciisecretskeywordxmlinspectparserpprintprofilequeuetimeit	zipimportfcntlpyclbrhtmlasynchatcgistructglobgrpzipfile	ipaddresslib2to3pstatsreprlibtermiostkinteratexittokenizeloggingnetrcstatabcastchunkasyncoretempfileerrnoenumfnmatchio	tracebackrebase64sqlite3traceurllibstringcursescodecs_thread>   r   r   r   r   r   r   r   r   r   r   r    r!   r"   r#   r$   r%   r&   r'   r(   r)   r*   r+   r,   r-   r.   r/   r0   r1   r2   r3   r4   r5   r6   r7   r8   r9   r:   r;   r<   r=   r>   r?   r@   rA   rB   rC   rD   rE   rF   rG   rH   rI   rJ   rK   rL   rM   rN   rO   rP   rQ   rR   rS   rT   rU   rV   rW   rX   rY   rZ   r[   r\   r]   r^   r_   r`   ra   rb   rc   rd   re   rf   rg   rh   ri   rj   rk   rl   rm   rn   ro   rp   rq   rr   rs   rt   ru   rv   rw   rx   ry   rz   r{   Zgraphlibr|   r}   r~   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   Zzoneinfor   r   r   r   r   r   r   r   r   r   r   r   )__doc__r   strboolr
   r   r   r   r   r   r   r	   <module>   s    	 Z