o
    U)i                     @   s2   d Z ddlZdedefddZd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   a/home/app/PaddleOCR-VL-test/.venv_paddleocr/lib/python3.10/site-packages/torch/package/_stdlib.pyis_stdlib_module   s   
r
   c                   C   sR   t jjdkr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_9stdlib_module_namesRuntimeErrorr   r   r   r	   r      s   r   >   unicodedatagetpassdataclassesselectinspectZprofileurllibbz2fnmatch	zipimportdecimalglobZpstatsweakref	encodingsZasyncorepkgutilasyncioemailreadlineplistlibsslturtle
subprocessZpoplibZsndhdrgrpnetrcZshelveabcfcntlcalendarZcmathZpyclbrtkintertypingsqlite3codecsconfigparserxmlsyslogZbdbctypesreZcurses	functoolsosgcZzipappgettextmsvcrtZ	telnetlib
py_compileZmsilibtestimprandomstructerrnoZwinsoundtracemallocqueuepydocZspwdsignal	distutilscopyreg	formatterZschedZsunauplatformargparseZmailcapsre_compilewinregZ
webbrowser	posixpathZcryptZcProfile
compileall	sysconfigcodepathlibshutilZpipesstringoptparsepicklemultiprocessingzlib_threadbinasciilocalesocketserverZcodeophashlib	threadingtermiosZimghdrzoneinfosockethmacvenvZpickletoolslzmaZimaplibZlib2to3asttimenumbers	importlib	tracebackZsymtableioZxdrlibdisntpathhtmlkeyword	linecacher   uuidsmtplibZ	fileinput	selectorsshlextokenizetypes
concurrentbisectbuiltinsZsmtpdftplibZaudioopcopyZtabnannyZ	ensurepipcontextvarssitewaverlcompleterZrunpyoperatorZtimeituugzipfilecmpZcgipdbZptygetoptsre_constantsjsoncollectionszipfilettyarrayfaulthandlerdifflib
statisticsreprlibmailbox
stringpreppprintposixresourcesymboldatetimeZasynchatwsgirefZbinhexhttp	sre_parseheapqtarfileZsremarshal	mimetypeswarnings	itertoolsparserenumZnischunkZossaudiodevtokenmathatexittempfileZ
turtledemocolorsyscmd	fractionsdbmquopribase64ZnntplibZcgitbtextwrap
contextlibZaifcZunittesttrace	ipaddressZgraphlibdoctestZsecretspwdstatloggingmmapZmodulefindercsvZxmlrpc)__doc__r   strboolr
   r   r   r   r   r   r	   <module>   s
   	