o
    h                     @   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   i/var/www/html/construction_image-detection-poc/venv/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   >   gcioosreuuabcastbdbbz2cgicmdcsvdbmdisgrpimpnispdbptypwdsresslr   ttyxmlaifccodecopyenumglobgziphmachtmlhttpjsonlzmamathmmapsitespwdstattesttimeuuidvenvwavezlibarraycgitbchunkcmathcryptemailerrnofcntlheapqnetrcpipesposixpydocqueuerunpyschedshlexsmtpdsunautokentracetypesatexitbase64binhexbisectcodecscodeopctypescursesftplibgetoptimghdrlocalemsilibmsvcrtntpathparserpicklepoplibpprintpstatspyclbrquoprirandomselectshelveshutilsignalsndhdrsocketstringstructsymbolsyslogtimeitturtletypingurllibwinregxdrlibxmlrpczipapp_threadasyncioaudioopcopyregdecimaldifflibdoctestfilecmpfnmatchgetpassgettexthashlibimaplibinspectkeywordlib2to3loggingmailboxmailcapmarshalnntplibnumberspathlibpkgutilprofilereprlibsecretssmtplibsqlite3tarfiletermiostkinterweakrefwsgirefzipfileargparseasynchatasyncorebinasciibuiltinscProfilecalendarcolorsysdatetimegraphliboperatoroptparseplatformplistlibreadlineresourcesymtabletabnannytempfiletextwraptokenizeunittestwarningswinsoundzoneinfo	distutils	encodings	ensurepip	fileinput	formatter	fractions	functools	importlib	ipaddress	itertools	linecache	mimetypes	posixpath	selectors	sre_parse	sysconfig	telnetlib	threading	traceback	zipimport
compileall
concurrent
contextlib
py_compile
statistics
stringprep
subprocess
turtledemo
webbrowsercollectionscontextvarsdataclassesossaudiodevpickletoolsrlcompletersre_compiletracemallocunicodedataconfigparserfaulthandlermodulefindersocketserversre_constantsmultiprocessing)__doc__r   strboolr
   r   r   r   r   r   r	   <module>   s
   	