layermap 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (773) hide show
  1. package/LICENSE +202 -0
  2. package/NOTICE +11 -0
  3. package/README.md +107 -0
  4. package/analyzers/analyzers.json +18 -0
  5. package/analyzers/go/darwin-arm64/go-map +0 -0
  6. package/analyzers/go/darwin-x64/go-map +0 -0
  7. package/analyzers/go/linux-arm64/go-map +0 -0
  8. package/analyzers/go/linux-x64/go-map +0 -0
  9. package/analyzers/project-map-go-worker.mjs +14710 -0
  10. package/analyzers/project-map-java/LICENSE-lombok +104 -0
  11. package/analyzers/project-map-java/java-map.jar +0 -0
  12. package/analyzers/project-map-java/lombok.jar +0 -0
  13. package/analyzers/project-map-java-worker.mjs +14729 -0
  14. package/analyzers/project-map-python/LICENSE-pyright.txt +22 -0
  15. package/analyzers/project-map-python/typeshed/LICENSE +237 -0
  16. package/analyzers/project-map-python/typeshed/commit.txt +1 -0
  17. package/analyzers/project-map-python/typeshed/stdlib/VERSIONS +349 -0
  18. package/analyzers/project-map-python/typeshed/stdlib/__future__.pyi +36 -0
  19. package/analyzers/project-map-python/typeshed/stdlib/__main__.pyi +1 -0
  20. package/analyzers/project-map-python/typeshed/stdlib/_ast.pyi +141 -0
  21. package/analyzers/project-map-python/typeshed/stdlib/_asyncio.pyi +114 -0
  22. package/analyzers/project-map-python/typeshed/stdlib/_bisect.pyi +103 -0
  23. package/analyzers/project-map-python/typeshed/stdlib/_blake2.pyi +119 -0
  24. package/analyzers/project-map-python/typeshed/stdlib/_bz2.pyi +24 -0
  25. package/analyzers/project-map-python/typeshed/stdlib/_codecs.pyi +122 -0
  26. package/analyzers/project-map-python/typeshed/stdlib/_collections_abc.pyi +105 -0
  27. package/analyzers/project-map-python/typeshed/stdlib/_compat_pickle.pyi +10 -0
  28. package/analyzers/project-map-python/typeshed/stdlib/_compression.pyi +39 -0
  29. package/analyzers/project-map-python/typeshed/stdlib/_contextvars.pyi +69 -0
  30. package/analyzers/project-map-python/typeshed/stdlib/_csv.pyi +116 -0
  31. package/analyzers/project-map-python/typeshed/stdlib/_ctypes.pyi +375 -0
  32. package/analyzers/project-map-python/typeshed/stdlib/_curses.pyi +583 -0
  33. package/analyzers/project-map-python/typeshed/stdlib/_curses_panel.pyi +27 -0
  34. package/analyzers/project-map-python/typeshed/stdlib/_dbm.pyi +46 -0
  35. package/analyzers/project-map-python/typeshed/stdlib/_decimal.pyi +73 -0
  36. package/analyzers/project-map-python/typeshed/stdlib/_frozen_importlib.pyi +115 -0
  37. package/analyzers/project-map-python/typeshed/stdlib/_frozen_importlib_external.pyi +180 -0
  38. package/analyzers/project-map-python/typeshed/stdlib/_gdbm.pyi +50 -0
  39. package/analyzers/project-map-python/typeshed/stdlib/_hashlib.pyi +127 -0
  40. package/analyzers/project-map-python/typeshed/stdlib/_heapq.pyi +18 -0
  41. package/analyzers/project-map-python/typeshed/stdlib/_imp.pyi +30 -0
  42. package/analyzers/project-map-python/typeshed/stdlib/_interpchannels.pyi +86 -0
  43. package/analyzers/project-map-python/typeshed/stdlib/_interpqueues.pyi +31 -0
  44. package/analyzers/project-map-python/typeshed/stdlib/_interpreters.pyi +62 -0
  45. package/analyzers/project-map-python/typeshed/stdlib/_io.pyi +330 -0
  46. package/analyzers/project-map-python/typeshed/stdlib/_json.pyi +59 -0
  47. package/analyzers/project-map-python/typeshed/stdlib/_locale.pyi +121 -0
  48. package/analyzers/project-map-python/typeshed/stdlib/_lsprof.pyi +34 -0
  49. package/analyzers/project-map-python/typeshed/stdlib/_lzma.pyi +71 -0
  50. package/analyzers/project-map-python/typeshed/stdlib/_markupbase.pyi +10 -0
  51. package/analyzers/project-map-python/typeshed/stdlib/_msi.pyi +97 -0
  52. package/analyzers/project-map-python/typeshed/stdlib/_multibytecodec.pyi +49 -0
  53. package/analyzers/project-map-python/typeshed/stdlib/_operator.pyi +157 -0
  54. package/analyzers/project-map-python/typeshed/stdlib/_osx_support.pyi +34 -0
  55. package/analyzers/project-map-python/typeshed/stdlib/_pickle.pyi +114 -0
  56. package/analyzers/project-map-python/typeshed/stdlib/_posixsubprocess.pyi +59 -0
  57. package/analyzers/project-map-python/typeshed/stdlib/_py_abc.pyi +14 -0
  58. package/analyzers/project-map-python/typeshed/stdlib/_pydecimal.pyi +50 -0
  59. package/analyzers/project-map-python/typeshed/stdlib/_queue.pyi +18 -0
  60. package/analyzers/project-map-python/typeshed/stdlib/_random.pyi +14 -0
  61. package/analyzers/project-map-python/typeshed/stdlib/_remote_debugging.pyi +183 -0
  62. package/analyzers/project-map-python/typeshed/stdlib/_sitebuiltins.pyi +17 -0
  63. package/analyzers/project-map-python/typeshed/stdlib/_socket.pyi +966 -0
  64. package/analyzers/project-map-python/typeshed/stdlib/_sqlite3.pyi +311 -0
  65. package/analyzers/project-map-python/typeshed/stdlib/_ssl.pyi +303 -0
  66. package/analyzers/project-map-python/typeshed/stdlib/_stat.pyi +119 -0
  67. package/analyzers/project-map-python/typeshed/stdlib/_struct.pyi +24 -0
  68. package/analyzers/project-map-python/typeshed/stdlib/_thread.pyi +123 -0
  69. package/analyzers/project-map-python/typeshed/stdlib/_threading_local.pyi +24 -0
  70. package/analyzers/project-map-python/typeshed/stdlib/_tkinter.pyi +156 -0
  71. package/analyzers/project-map-python/typeshed/stdlib/_tracemalloc.pyi +13 -0
  72. package/analyzers/project-map-python/typeshed/stdlib/_typeshed/__init__.pyi +393 -0
  73. package/analyzers/project-map-python/typeshed/stdlib/_typeshed/_type_checker_internals.pyi +99 -0
  74. package/analyzers/project-map-python/typeshed/stdlib/_typeshed/dbapi.pyi +36 -0
  75. package/analyzers/project-map-python/typeshed/stdlib/_typeshed/importlib.pyi +18 -0
  76. package/analyzers/project-map-python/typeshed/stdlib/_typeshed/wsgi.pyi +43 -0
  77. package/analyzers/project-map-python/typeshed/stdlib/_typeshed/xml.pyi +9 -0
  78. package/analyzers/project-map-python/typeshed/stdlib/_warnings.pyi +54 -0
  79. package/analyzers/project-map-python/typeshed/stdlib/_weakref.pyi +15 -0
  80. package/analyzers/project-map-python/typeshed/stdlib/_weakrefset.pyi +49 -0
  81. package/analyzers/project-map-python/typeshed/stdlib/_winapi.pyi +314 -0
  82. package/analyzers/project-map-python/typeshed/stdlib/_zstd.pyi +102 -0
  83. package/analyzers/project-map-python/typeshed/stdlib/abc.pyi +50 -0
  84. package/analyzers/project-map-python/typeshed/stdlib/aifc.pyi +79 -0
  85. package/analyzers/project-map-python/typeshed/stdlib/annotationlib.pyi +156 -0
  86. package/analyzers/project-map-python/typeshed/stdlib/antigravity.pyi +3 -0
  87. package/analyzers/project-map-python/typeshed/stdlib/argparse.pyi +864 -0
  88. package/analyzers/project-map-python/typeshed/stdlib/array.pyi +113 -0
  89. package/analyzers/project-map-python/typeshed/stdlib/ast.pyi +2199 -0
  90. package/analyzers/project-map-python/typeshed/stdlib/asynchat.pyi +21 -0
  91. package/analyzers/project-map-python/typeshed/stdlib/asyncio/__init__.pyi +1022 -0
  92. package/analyzers/project-map-python/typeshed/stdlib/asyncio/base_events.pyi +498 -0
  93. package/analyzers/project-map-python/typeshed/stdlib/asyncio/base_futures.pyi +17 -0
  94. package/analyzers/project-map-python/typeshed/stdlib/asyncio/base_subprocess.pyi +62 -0
  95. package/analyzers/project-map-python/typeshed/stdlib/asyncio/base_tasks.pyi +17 -0
  96. package/analyzers/project-map-python/typeshed/stdlib/asyncio/constants.pyi +20 -0
  97. package/analyzers/project-map-python/typeshed/stdlib/asyncio/coroutines.pyi +45 -0
  98. package/analyzers/project-map-python/typeshed/stdlib/asyncio/events.pyi +671 -0
  99. package/analyzers/project-map-python/typeshed/stdlib/asyncio/exceptions.pyi +44 -0
  100. package/analyzers/project-map-python/typeshed/stdlib/asyncio/format_helpers.pyi +31 -0
  101. package/analyzers/project-map-python/typeshed/stdlib/asyncio/futures.pyi +19 -0
  102. package/analyzers/project-map-python/typeshed/stdlib/asyncio/graph.pyi +29 -0
  103. package/analyzers/project-map-python/typeshed/stdlib/asyncio/locks.pyi +83 -0
  104. package/analyzers/project-map-python/typeshed/stdlib/asyncio/log.pyi +3 -0
  105. package/analyzers/project-map-python/typeshed/stdlib/asyncio/mixins.pyi +9 -0
  106. package/analyzers/project-map-python/typeshed/stdlib/asyncio/proactor_events.pyi +53 -0
  107. package/analyzers/project-map-python/typeshed/stdlib/asyncio/protocols.pyi +41 -0
  108. package/analyzers/project-map-python/typeshed/stdlib/asyncio/queues.pyi +45 -0
  109. package/analyzers/project-map-python/typeshed/stdlib/asyncio/runners.pyi +41 -0
  110. package/analyzers/project-map-python/typeshed/stdlib/asyncio/selector_events.pyi +10 -0
  111. package/analyzers/project-map-python/typeshed/stdlib/asyncio/sslproto.pyi +164 -0
  112. package/analyzers/project-map-python/typeshed/stdlib/asyncio/staggered.pyi +10 -0
  113. package/analyzers/project-map-python/typeshed/stdlib/asyncio/streams.pyi +124 -0
  114. package/analyzers/project-map-python/typeshed/stdlib/asyncio/subprocess.pyi +166 -0
  115. package/analyzers/project-map-python/typeshed/stdlib/asyncio/taskgroups.pyi +41 -0
  116. package/analyzers/project-map-python/typeshed/stdlib/asyncio/tasks.pyi +315 -0
  117. package/analyzers/project-map-python/typeshed/stdlib/asyncio/threads.pyi +9 -0
  118. package/analyzers/project-map-python/typeshed/stdlib/asyncio/timeouts.pyi +20 -0
  119. package/analyzers/project-map-python/typeshed/stdlib/asyncio/tools.pyi +51 -0
  120. package/analyzers/project-map-python/typeshed/stdlib/asyncio/transports.pyi +57 -0
  121. package/analyzers/project-map-python/typeshed/stdlib/asyncio/trsock.pyi +137 -0
  122. package/analyzers/project-map-python/typeshed/stdlib/asyncio/unix_events.pyi +277 -0
  123. package/analyzers/project-map-python/typeshed/stdlib/asyncio/windows_events.pyi +121 -0
  124. package/analyzers/project-map-python/typeshed/stdlib/asyncio/windows_utils.pyi +49 -0
  125. package/analyzers/project-map-python/typeshed/stdlib/asyncore.pyi +91 -0
  126. package/analyzers/project-map-python/typeshed/stdlib/atexit.pyi +11 -0
  127. package/analyzers/project-map-python/typeshed/stdlib/audioop.pyi +44 -0
  128. package/analyzers/project-map-python/typeshed/stdlib/base64.pyi +124 -0
  129. package/analyzers/project-map-python/typeshed/stdlib/bdb.pyi +139 -0
  130. package/analyzers/project-map-python/typeshed/stdlib/binascii.pyi +102 -0
  131. package/analyzers/project-map-python/typeshed/stdlib/binhex.pyi +44 -0
  132. package/analyzers/project-map-python/typeshed/stdlib/bisect.pyi +4 -0
  133. package/analyzers/project-map-python/typeshed/stdlib/builtins.pyi +2679 -0
  134. package/analyzers/project-map-python/typeshed/stdlib/bz2.pyi +121 -0
  135. package/analyzers/project-map-python/typeshed/stdlib/cProfile.pyi +33 -0
  136. package/analyzers/project-map-python/typeshed/stdlib/calendar.pyi +249 -0
  137. package/analyzers/project-map-python/typeshed/stdlib/cgi.pyi +120 -0
  138. package/analyzers/project-map-python/typeshed/stdlib/cgitb.pyi +32 -0
  139. package/analyzers/project-map-python/typeshed/stdlib/chunk.pyi +20 -0
  140. package/analyzers/project-map-python/typeshed/stdlib/cmath.pyi +36 -0
  141. package/analyzers/project-map-python/typeshed/stdlib/cmd.pyi +46 -0
  142. package/analyzers/project-map-python/typeshed/stdlib/code.pyi +55 -0
  143. package/analyzers/project-map-python/typeshed/stdlib/codecs.pyi +357 -0
  144. package/analyzers/project-map-python/typeshed/stdlib/codeop.pyi +21 -0
  145. package/analyzers/project-map-python/typeshed/stdlib/collections/__init__.pyi +564 -0
  146. package/analyzers/project-map-python/typeshed/stdlib/collections/abc.pyi +2 -0
  147. package/analyzers/project-map-python/typeshed/stdlib/colorsys.pyi +15 -0
  148. package/analyzers/project-map-python/typeshed/stdlib/compileall.pyi +51 -0
  149. package/analyzers/project-map-python/typeshed/stdlib/compression/__init__.pyi +0 -0
  150. package/analyzers/project-map-python/typeshed/stdlib/compression/_common/__init__.pyi +0 -0
  151. package/analyzers/project-map-python/typeshed/stdlib/compression/_common/_streams.pyi +37 -0
  152. package/analyzers/project-map-python/typeshed/stdlib/compression/bz2.pyi +1 -0
  153. package/analyzers/project-map-python/typeshed/stdlib/compression/gzip.pyi +1 -0
  154. package/analyzers/project-map-python/typeshed/stdlib/compression/lzma.pyi +1 -0
  155. package/analyzers/project-map-python/typeshed/stdlib/compression/zlib.pyi +1 -0
  156. package/analyzers/project-map-python/typeshed/stdlib/compression/zstd/__init__.pyi +94 -0
  157. package/analyzers/project-map-python/typeshed/stdlib/compression/zstd/_zstdfile.pyi +117 -0
  158. package/analyzers/project-map-python/typeshed/stdlib/concurrent/__init__.pyi +0 -0
  159. package/analyzers/project-map-python/typeshed/stdlib/concurrent/futures/__init__.pyi +71 -0
  160. package/analyzers/project-map-python/typeshed/stdlib/concurrent/futures/_base.pyi +119 -0
  161. package/analyzers/project-map-python/typeshed/stdlib/concurrent/futures/interpreter.pyi +82 -0
  162. package/analyzers/project-map-python/typeshed/stdlib/concurrent/futures/process.pyi +242 -0
  163. package/analyzers/project-map-python/typeshed/stdlib/concurrent/futures/thread.pyi +143 -0
  164. package/analyzers/project-map-python/typeshed/stdlib/concurrent/interpreters/__init__.pyi +68 -0
  165. package/analyzers/project-map-python/typeshed/stdlib/concurrent/interpreters/_crossinterp.pyi +30 -0
  166. package/analyzers/project-map-python/typeshed/stdlib/concurrent/interpreters/_queues.pyi +74 -0
  167. package/analyzers/project-map-python/typeshed/stdlib/configparser.pyi +507 -0
  168. package/analyzers/project-map-python/typeshed/stdlib/contextlib.pyi +224 -0
  169. package/analyzers/project-map-python/typeshed/stdlib/contextvars.pyi +3 -0
  170. package/analyzers/project-map-python/typeshed/stdlib/copy.pyi +28 -0
  171. package/analyzers/project-map-python/typeshed/stdlib/copyreg.pyi +20 -0
  172. package/analyzers/project-map-python/typeshed/stdlib/crypt.pyi +26 -0
  173. package/analyzers/project-map-python/typeshed/stdlib/csv.pyi +153 -0
  174. package/analyzers/project-map-python/typeshed/stdlib/ctypes/__init__.pyi +394 -0
  175. package/analyzers/project-map-python/typeshed/stdlib/ctypes/_endian.pyi +16 -0
  176. package/analyzers/project-map-python/typeshed/stdlib/ctypes/macholib/__init__.pyi +3 -0
  177. package/analyzers/project-map-python/typeshed/stdlib/ctypes/macholib/dyld.pyi +8 -0
  178. package/analyzers/project-map-python/typeshed/stdlib/ctypes/macholib/dylib.pyi +14 -0
  179. package/analyzers/project-map-python/typeshed/stdlib/ctypes/macholib/framework.pyi +14 -0
  180. package/analyzers/project-map-python/typeshed/stdlib/ctypes/util.pyi +11 -0
  181. package/analyzers/project-map-python/typeshed/stdlib/ctypes/wintypes.pyi +321 -0
  182. package/analyzers/project-map-python/typeshed/stdlib/curses/__init__.pyi +38 -0
  183. package/analyzers/project-map-python/typeshed/stdlib/curses/ascii.pyi +62 -0
  184. package/analyzers/project-map-python/typeshed/stdlib/curses/has_key.pyi +1 -0
  185. package/analyzers/project-map-python/typeshed/stdlib/curses/panel.pyi +1 -0
  186. package/analyzers/project-map-python/typeshed/stdlib/curses/textpad.pyi +11 -0
  187. package/analyzers/project-map-python/typeshed/stdlib/dataclasses.pyi +397 -0
  188. package/analyzers/project-map-python/typeshed/stdlib/datetime.pyi +381 -0
  189. package/analyzers/project-map-python/typeshed/stdlib/dbm/__init__.pyi +105 -0
  190. package/analyzers/project-map-python/typeshed/stdlib/dbm/dumb.pyi +41 -0
  191. package/analyzers/project-map-python/typeshed/stdlib/dbm/gnu.pyi +1 -0
  192. package/analyzers/project-map-python/typeshed/stdlib/dbm/ndbm.pyi +1 -0
  193. package/analyzers/project-map-python/typeshed/stdlib/dbm/sqlite3.pyi +34 -0
  194. package/analyzers/project-map-python/typeshed/stdlib/decimal.pyi +278 -0
  195. package/analyzers/project-map-python/typeshed/stdlib/difflib.pyi +157 -0
  196. package/analyzers/project-map-python/typeshed/stdlib/dis.pyi +302 -0
  197. package/analyzers/project-map-python/typeshed/stdlib/distutils/__init__.pyi +5 -0
  198. package/analyzers/project-map-python/typeshed/stdlib/distutils/_msvccompiler.pyi +13 -0
  199. package/analyzers/project-map-python/typeshed/stdlib/distutils/archive_util.pyi +36 -0
  200. package/analyzers/project-map-python/typeshed/stdlib/distutils/bcppcompiler.pyi +3 -0
  201. package/analyzers/project-map-python/typeshed/stdlib/distutils/ccompiler.pyi +182 -0
  202. package/analyzers/project-map-python/typeshed/stdlib/distutils/cmd.pyi +238 -0
  203. package/analyzers/project-map-python/typeshed/stdlib/distutils/command/__init__.pyi +41 -0
  204. package/analyzers/project-map-python/typeshed/stdlib/distutils/command/bdist.pyi +27 -0
  205. package/analyzers/project-map-python/typeshed/stdlib/distutils/command/bdist_dumb.pyi +22 -0
  206. package/analyzers/project-map-python/typeshed/stdlib/distutils/command/bdist_msi.pyi +45 -0
  207. package/analyzers/project-map-python/typeshed/stdlib/distutils/command/bdist_packager.pyi +0 -0
  208. package/analyzers/project-map-python/typeshed/stdlib/distutils/command/bdist_rpm.pyi +53 -0
  209. package/analyzers/project-map-python/typeshed/stdlib/distutils/command/build.pyi +34 -0
  210. package/analyzers/project-map-python/typeshed/stdlib/distutils/command/build_clib.pyi +29 -0
  211. package/analyzers/project-map-python/typeshed/stdlib/distutils/command/build_ext.pyi +52 -0
  212. package/analyzers/project-map-python/typeshed/stdlib/distutils/command/build_py.pyi +45 -0
  213. package/analyzers/project-map-python/typeshed/stdlib/distutils/command/build_scripts.pyi +25 -0
  214. package/analyzers/project-map-python/typeshed/stdlib/distutils/command/check.pyi +39 -0
  215. package/analyzers/project-map-python/typeshed/stdlib/distutils/command/clean.pyi +18 -0
  216. package/analyzers/project-map-python/typeshed/stdlib/distutils/command/config.pyi +84 -0
  217. package/analyzers/project-map-python/typeshed/stdlib/distutils/command/install.pyi +67 -0
  218. package/analyzers/project-map-python/typeshed/stdlib/distutils/command/install_data.pyi +20 -0
  219. package/analyzers/project-map-python/typeshed/stdlib/distutils/command/install_egg_info.pyi +19 -0
  220. package/analyzers/project-map-python/typeshed/stdlib/distutils/command/install_headers.pyi +17 -0
  221. package/analyzers/project-map-python/typeshed/stdlib/distutils/command/install_lib.pyi +26 -0
  222. package/analyzers/project-map-python/typeshed/stdlib/distutils/command/install_scripts.pyi +19 -0
  223. package/analyzers/project-map-python/typeshed/stdlib/distutils/command/register.pyi +20 -0
  224. package/analyzers/project-map-python/typeshed/stdlib/distutils/command/sdist.pyi +45 -0
  225. package/analyzers/project-map-python/typeshed/stdlib/distutils/command/upload.pyi +18 -0
  226. package/analyzers/project-map-python/typeshed/stdlib/distutils/config.pyi +17 -0
  227. package/analyzers/project-map-python/typeshed/stdlib/distutils/core.pyi +58 -0
  228. package/analyzers/project-map-python/typeshed/stdlib/distutils/cygwinccompiler.pyi +20 -0
  229. package/analyzers/project-map-python/typeshed/stdlib/distutils/debug.pyi +3 -0
  230. package/analyzers/project-map-python/typeshed/stdlib/distutils/dep_util.pyi +14 -0
  231. package/analyzers/project-map-python/typeshed/stdlib/distutils/dir_util.pyi +23 -0
  232. package/analyzers/project-map-python/typeshed/stdlib/distutils/dist.pyi +318 -0
  233. package/analyzers/project-map-python/typeshed/stdlib/distutils/errors.pyi +19 -0
  234. package/analyzers/project-map-python/typeshed/stdlib/distutils/extension.pyi +36 -0
  235. package/analyzers/project-map-python/typeshed/stdlib/distutils/fancy_getopt.pyi +45 -0
  236. package/analyzers/project-map-python/typeshed/stdlib/distutils/file_util.pyi +40 -0
  237. package/analyzers/project-map-python/typeshed/stdlib/distutils/filelist.pyi +61 -0
  238. package/analyzers/project-map-python/typeshed/stdlib/distutils/log.pyi +26 -0
  239. package/analyzers/project-map-python/typeshed/stdlib/distutils/msvccompiler.pyi +3 -0
  240. package/analyzers/project-map-python/typeshed/stdlib/distutils/spawn.pyi +10 -0
  241. package/analyzers/project-map-python/typeshed/stdlib/distutils/sysconfig.pyi +32 -0
  242. package/analyzers/project-map-python/typeshed/stdlib/distutils/text_file.pyi +21 -0
  243. package/analyzers/project-map-python/typeshed/stdlib/distutils/unixccompiler.pyi +3 -0
  244. package/analyzers/project-map-python/typeshed/stdlib/distutils/util.pyi +53 -0
  245. package/analyzers/project-map-python/typeshed/stdlib/distutils/version.pyi +36 -0
  246. package/analyzers/project-map-python/typeshed/stdlib/doctest.pyi +262 -0
  247. package/analyzers/project-map-python/typeshed/stdlib/email/__init__.pyi +62 -0
  248. package/analyzers/project-map-python/typeshed/stdlib/email/_header_value_parser.pyi +414 -0
  249. package/analyzers/project-map-python/typeshed/stdlib/email/_policybase.pyi +80 -0
  250. package/analyzers/project-map-python/typeshed/stdlib/email/base64mime.pyi +13 -0
  251. package/analyzers/project-map-python/typeshed/stdlib/email/charset.pyi +44 -0
  252. package/analyzers/project-map-python/typeshed/stdlib/email/contentmanager.pyi +11 -0
  253. package/analyzers/project-map-python/typeshed/stdlib/email/encoders.pyi +8 -0
  254. package/analyzers/project-map-python/typeshed/stdlib/email/errors.pyi +38 -0
  255. package/analyzers/project-map-python/typeshed/stdlib/email/feedparser.pyi +24 -0
  256. package/analyzers/project-map-python/typeshed/stdlib/email/generator.pyi +79 -0
  257. package/analyzers/project-map-python/typeshed/stdlib/email/header.pyi +32 -0
  258. package/analyzers/project-map-python/typeshed/stdlib/email/headerregistry.pyi +193 -0
  259. package/analyzers/project-map-python/typeshed/stdlib/email/iterators.pyi +15 -0
  260. package/analyzers/project-map-python/typeshed/stdlib/email/message.pyi +191 -0
  261. package/analyzers/project-map-python/typeshed/stdlib/email/mime/__init__.pyi +0 -0
  262. package/analyzers/project-map-python/typeshed/stdlib/email/mime/application.pyi +17 -0
  263. package/analyzers/project-map-python/typeshed/stdlib/email/mime/audio.pyi +17 -0
  264. package/analyzers/project-map-python/typeshed/stdlib/email/mime/base.pyi +8 -0
  265. package/analyzers/project-map-python/typeshed/stdlib/email/mime/image.pyi +17 -0
  266. package/analyzers/project-map-python/typeshed/stdlib/email/mime/message.pyi +8 -0
  267. package/analyzers/project-map-python/typeshed/stdlib/email/mime/multipart.pyi +18 -0
  268. package/analyzers/project-map-python/typeshed/stdlib/email/mime/nonmultipart.pyi +5 -0
  269. package/analyzers/project-map-python/typeshed/stdlib/email/mime/text.pyi +9 -0
  270. package/analyzers/project-map-python/typeshed/stdlib/email/parser.pyi +42 -0
  271. package/analyzers/project-map-python/typeshed/stdlib/email/policy.pyi +77 -0
  272. package/analyzers/project-map-python/typeshed/stdlib/email/quoprimime.pyi +28 -0
  273. package/analyzers/project-map-python/typeshed/stdlib/email/utils.pyi +72 -0
  274. package/analyzers/project-map-python/typeshed/stdlib/encodings/__init__.pyi +15 -0
  275. package/analyzers/project-map-python/typeshed/stdlib/encodings/aliases.pyi +1 -0
  276. package/analyzers/project-map-python/typeshed/stdlib/encodings/ascii.pyi +30 -0
  277. package/analyzers/project-map-python/typeshed/stdlib/encodings/base64_codec.pyi +26 -0
  278. package/analyzers/project-map-python/typeshed/stdlib/encodings/big5.pyi +23 -0
  279. package/analyzers/project-map-python/typeshed/stdlib/encodings/big5hkscs.pyi +23 -0
  280. package/analyzers/project-map-python/typeshed/stdlib/encodings/bz2_codec.pyi +26 -0
  281. package/analyzers/project-map-python/typeshed/stdlib/encodings/charmap.pyi +33 -0
  282. package/analyzers/project-map-python/typeshed/stdlib/encodings/cp037.pyi +21 -0
  283. package/analyzers/project-map-python/typeshed/stdlib/encodings/cp1006.pyi +21 -0
  284. package/analyzers/project-map-python/typeshed/stdlib/encodings/cp1026.pyi +21 -0
  285. package/analyzers/project-map-python/typeshed/stdlib/encodings/cp1125.pyi +21 -0
  286. package/analyzers/project-map-python/typeshed/stdlib/encodings/cp1140.pyi +21 -0
  287. package/analyzers/project-map-python/typeshed/stdlib/encodings/cp1250.pyi +21 -0
  288. package/analyzers/project-map-python/typeshed/stdlib/encodings/cp1251.pyi +21 -0
  289. package/analyzers/project-map-python/typeshed/stdlib/encodings/cp1252.pyi +21 -0
  290. package/analyzers/project-map-python/typeshed/stdlib/encodings/cp1253.pyi +21 -0
  291. package/analyzers/project-map-python/typeshed/stdlib/encodings/cp1254.pyi +21 -0
  292. package/analyzers/project-map-python/typeshed/stdlib/encodings/cp1255.pyi +21 -0
  293. package/analyzers/project-map-python/typeshed/stdlib/encodings/cp1256.pyi +21 -0
  294. package/analyzers/project-map-python/typeshed/stdlib/encodings/cp1257.pyi +21 -0
  295. package/analyzers/project-map-python/typeshed/stdlib/encodings/cp1258.pyi +21 -0
  296. package/analyzers/project-map-python/typeshed/stdlib/encodings/cp273.pyi +21 -0
  297. package/analyzers/project-map-python/typeshed/stdlib/encodings/cp424.pyi +21 -0
  298. package/analyzers/project-map-python/typeshed/stdlib/encodings/cp437.pyi +21 -0
  299. package/analyzers/project-map-python/typeshed/stdlib/encodings/cp500.pyi +21 -0
  300. package/analyzers/project-map-python/typeshed/stdlib/encodings/cp720.pyi +21 -0
  301. package/analyzers/project-map-python/typeshed/stdlib/encodings/cp737.pyi +21 -0
  302. package/analyzers/project-map-python/typeshed/stdlib/encodings/cp775.pyi +21 -0
  303. package/analyzers/project-map-python/typeshed/stdlib/encodings/cp850.pyi +21 -0
  304. package/analyzers/project-map-python/typeshed/stdlib/encodings/cp852.pyi +21 -0
  305. package/analyzers/project-map-python/typeshed/stdlib/encodings/cp855.pyi +21 -0
  306. package/analyzers/project-map-python/typeshed/stdlib/encodings/cp856.pyi +21 -0
  307. package/analyzers/project-map-python/typeshed/stdlib/encodings/cp857.pyi +21 -0
  308. package/analyzers/project-map-python/typeshed/stdlib/encodings/cp858.pyi +21 -0
  309. package/analyzers/project-map-python/typeshed/stdlib/encodings/cp860.pyi +21 -0
  310. package/analyzers/project-map-python/typeshed/stdlib/encodings/cp861.pyi +21 -0
  311. package/analyzers/project-map-python/typeshed/stdlib/encodings/cp862.pyi +21 -0
  312. package/analyzers/project-map-python/typeshed/stdlib/encodings/cp863.pyi +21 -0
  313. package/analyzers/project-map-python/typeshed/stdlib/encodings/cp864.pyi +21 -0
  314. package/analyzers/project-map-python/typeshed/stdlib/encodings/cp865.pyi +21 -0
  315. package/analyzers/project-map-python/typeshed/stdlib/encodings/cp866.pyi +21 -0
  316. package/analyzers/project-map-python/typeshed/stdlib/encodings/cp869.pyi +21 -0
  317. package/analyzers/project-map-python/typeshed/stdlib/encodings/cp874.pyi +21 -0
  318. package/analyzers/project-map-python/typeshed/stdlib/encodings/cp875.pyi +21 -0
  319. package/analyzers/project-map-python/typeshed/stdlib/encodings/cp932.pyi +23 -0
  320. package/analyzers/project-map-python/typeshed/stdlib/encodings/cp949.pyi +23 -0
  321. package/analyzers/project-map-python/typeshed/stdlib/encodings/cp950.pyi +23 -0
  322. package/analyzers/project-map-python/typeshed/stdlib/encodings/euc_jis_2004.pyi +23 -0
  323. package/analyzers/project-map-python/typeshed/stdlib/encodings/euc_jisx0213.pyi +23 -0
  324. package/analyzers/project-map-python/typeshed/stdlib/encodings/euc_jp.pyi +23 -0
  325. package/analyzers/project-map-python/typeshed/stdlib/encodings/euc_kr.pyi +23 -0
  326. package/analyzers/project-map-python/typeshed/stdlib/encodings/gb18030.pyi +23 -0
  327. package/analyzers/project-map-python/typeshed/stdlib/encodings/gb2312.pyi +23 -0
  328. package/analyzers/project-map-python/typeshed/stdlib/encodings/gbk.pyi +23 -0
  329. package/analyzers/project-map-python/typeshed/stdlib/encodings/hex_codec.pyi +26 -0
  330. package/analyzers/project-map-python/typeshed/stdlib/encodings/hp_roman8.pyi +21 -0
  331. package/analyzers/project-map-python/typeshed/stdlib/encodings/hz.pyi +23 -0
  332. package/analyzers/project-map-python/typeshed/stdlib/encodings/idna.pyi +26 -0
  333. package/analyzers/project-map-python/typeshed/stdlib/encodings/iso2022_jp.pyi +23 -0
  334. package/analyzers/project-map-python/typeshed/stdlib/encodings/iso2022_jp_1.pyi +23 -0
  335. package/analyzers/project-map-python/typeshed/stdlib/encodings/iso2022_jp_2.pyi +23 -0
  336. package/analyzers/project-map-python/typeshed/stdlib/encodings/iso2022_jp_2004.pyi +23 -0
  337. package/analyzers/project-map-python/typeshed/stdlib/encodings/iso2022_jp_3.pyi +23 -0
  338. package/analyzers/project-map-python/typeshed/stdlib/encodings/iso2022_jp_ext.pyi +23 -0
  339. package/analyzers/project-map-python/typeshed/stdlib/encodings/iso2022_kr.pyi +23 -0
  340. package/analyzers/project-map-python/typeshed/stdlib/encodings/iso8859_1.pyi +21 -0
  341. package/analyzers/project-map-python/typeshed/stdlib/encodings/iso8859_10.pyi +21 -0
  342. package/analyzers/project-map-python/typeshed/stdlib/encodings/iso8859_11.pyi +21 -0
  343. package/analyzers/project-map-python/typeshed/stdlib/encodings/iso8859_13.pyi +21 -0
  344. package/analyzers/project-map-python/typeshed/stdlib/encodings/iso8859_14.pyi +21 -0
  345. package/analyzers/project-map-python/typeshed/stdlib/encodings/iso8859_15.pyi +21 -0
  346. package/analyzers/project-map-python/typeshed/stdlib/encodings/iso8859_16.pyi +21 -0
  347. package/analyzers/project-map-python/typeshed/stdlib/encodings/iso8859_2.pyi +21 -0
  348. package/analyzers/project-map-python/typeshed/stdlib/encodings/iso8859_3.pyi +21 -0
  349. package/analyzers/project-map-python/typeshed/stdlib/encodings/iso8859_4.pyi +21 -0
  350. package/analyzers/project-map-python/typeshed/stdlib/encodings/iso8859_5.pyi +21 -0
  351. package/analyzers/project-map-python/typeshed/stdlib/encodings/iso8859_6.pyi +21 -0
  352. package/analyzers/project-map-python/typeshed/stdlib/encodings/iso8859_7.pyi +21 -0
  353. package/analyzers/project-map-python/typeshed/stdlib/encodings/iso8859_8.pyi +21 -0
  354. package/analyzers/project-map-python/typeshed/stdlib/encodings/iso8859_9.pyi +21 -0
  355. package/analyzers/project-map-python/typeshed/stdlib/encodings/johab.pyi +23 -0
  356. package/analyzers/project-map-python/typeshed/stdlib/encodings/koi8_r.pyi +21 -0
  357. package/analyzers/project-map-python/typeshed/stdlib/encodings/koi8_t.pyi +21 -0
  358. package/analyzers/project-map-python/typeshed/stdlib/encodings/koi8_u.pyi +21 -0
  359. package/analyzers/project-map-python/typeshed/stdlib/encodings/kz1048.pyi +21 -0
  360. package/analyzers/project-map-python/typeshed/stdlib/encodings/latin_1.pyi +30 -0
  361. package/analyzers/project-map-python/typeshed/stdlib/encodings/mac_arabic.pyi +21 -0
  362. package/analyzers/project-map-python/typeshed/stdlib/encodings/mac_croatian.pyi +21 -0
  363. package/analyzers/project-map-python/typeshed/stdlib/encodings/mac_cyrillic.pyi +21 -0
  364. package/analyzers/project-map-python/typeshed/stdlib/encodings/mac_farsi.pyi +21 -0
  365. package/analyzers/project-map-python/typeshed/stdlib/encodings/mac_greek.pyi +21 -0
  366. package/analyzers/project-map-python/typeshed/stdlib/encodings/mac_iceland.pyi +21 -0
  367. package/analyzers/project-map-python/typeshed/stdlib/encodings/mac_latin2.pyi +21 -0
  368. package/analyzers/project-map-python/typeshed/stdlib/encodings/mac_roman.pyi +21 -0
  369. package/analyzers/project-map-python/typeshed/stdlib/encodings/mac_romanian.pyi +21 -0
  370. package/analyzers/project-map-python/typeshed/stdlib/encodings/mac_turkish.pyi +21 -0
  371. package/analyzers/project-map-python/typeshed/stdlib/encodings/mbcs.pyi +28 -0
  372. package/analyzers/project-map-python/typeshed/stdlib/encodings/oem.pyi +28 -0
  373. package/analyzers/project-map-python/typeshed/stdlib/encodings/palmos.pyi +21 -0
  374. package/analyzers/project-map-python/typeshed/stdlib/encodings/ptcp154.pyi +21 -0
  375. package/analyzers/project-map-python/typeshed/stdlib/encodings/punycode.pyi +33 -0
  376. package/analyzers/project-map-python/typeshed/stdlib/encodings/quopri_codec.pyi +26 -0
  377. package/analyzers/project-map-python/typeshed/stdlib/encodings/raw_unicode_escape.pyi +23 -0
  378. package/analyzers/project-map-python/typeshed/stdlib/encodings/rot_13.pyi +23 -0
  379. package/analyzers/project-map-python/typeshed/stdlib/encodings/shift_jis.pyi +23 -0
  380. package/analyzers/project-map-python/typeshed/stdlib/encodings/shift_jis_2004.pyi +23 -0
  381. package/analyzers/project-map-python/typeshed/stdlib/encodings/shift_jisx0213.pyi +23 -0
  382. package/analyzers/project-map-python/typeshed/stdlib/encodings/tis_620.pyi +21 -0
  383. package/analyzers/project-map-python/typeshed/stdlib/encodings/undefined.pyi +20 -0
  384. package/analyzers/project-map-python/typeshed/stdlib/encodings/unicode_escape.pyi +23 -0
  385. package/analyzers/project-map-python/typeshed/stdlib/encodings/utf_16.pyi +20 -0
  386. package/analyzers/project-map-python/typeshed/stdlib/encodings/utf_16_be.pyi +26 -0
  387. package/analyzers/project-map-python/typeshed/stdlib/encodings/utf_16_le.pyi +26 -0
  388. package/analyzers/project-map-python/typeshed/stdlib/encodings/utf_32.pyi +20 -0
  389. package/analyzers/project-map-python/typeshed/stdlib/encodings/utf_32_be.pyi +26 -0
  390. package/analyzers/project-map-python/typeshed/stdlib/encodings/utf_32_le.pyi +26 -0
  391. package/analyzers/project-map-python/typeshed/stdlib/encodings/utf_7.pyi +26 -0
  392. package/analyzers/project-map-python/typeshed/stdlib/encodings/utf_8.pyi +26 -0
  393. package/analyzers/project-map-python/typeshed/stdlib/encodings/utf_8_sig.pyi +22 -0
  394. package/analyzers/project-map-python/typeshed/stdlib/encodings/uu_codec.pyi +28 -0
  395. package/analyzers/project-map-python/typeshed/stdlib/encodings/zlib_codec.pyi +26 -0
  396. package/analyzers/project-map-python/typeshed/stdlib/ensurepip/__init__.pyi +12 -0
  397. package/analyzers/project-map-python/typeshed/stdlib/enum.pyi +374 -0
  398. package/analyzers/project-map-python/typeshed/stdlib/errno.pyi +227 -0
  399. package/analyzers/project-map-python/typeshed/stdlib/faulthandler.pyi +61 -0
  400. package/analyzers/project-map-python/typeshed/stdlib/fcntl.pyi +157 -0
  401. package/analyzers/project-map-python/typeshed/stdlib/filecmp.pyi +65 -0
  402. package/analyzers/project-map-python/typeshed/stdlib/fileinput.pyi +141 -0
  403. package/analyzers/project-map-python/typeshed/stdlib/fnmatch.pyi +15 -0
  404. package/analyzers/project-map-python/typeshed/stdlib/fractions.pyi +185 -0
  405. package/analyzers/project-map-python/typeshed/stdlib/ftplib.pyi +174 -0
  406. package/analyzers/project-map-python/typeshed/stdlib/functools.pyi +281 -0
  407. package/analyzers/project-map-python/typeshed/stdlib/gc.pyi +32 -0
  408. package/analyzers/project-map-python/typeshed/stdlib/genericpath.pyi +98 -0
  409. package/analyzers/project-map-python/typeshed/stdlib/getopt.pyi +27 -0
  410. package/analyzers/project-map-python/typeshed/stdlib/getpass.pyi +14 -0
  411. package/analyzers/project-map-python/typeshed/stdlib/gettext.pyi +190 -0
  412. package/analyzers/project-map-python/typeshed/stdlib/glob.pyi +54 -0
  413. package/analyzers/project-map-python/typeshed/stdlib/graphlib.pyi +29 -0
  414. package/analyzers/project-map-python/typeshed/stdlib/grp.pyi +21 -0
  415. package/analyzers/project-map-python/typeshed/stdlib/gzip.pyi +181 -0
  416. package/analyzers/project-map-python/typeshed/stdlib/hashlib.pyi +112 -0
  417. package/analyzers/project-map-python/typeshed/stdlib/heapq.pyi +32 -0
  418. package/analyzers/project-map-python/typeshed/stdlib/hmac.pyi +33 -0
  419. package/analyzers/project-map-python/typeshed/stdlib/html/__init__.pyi +7 -0
  420. package/analyzers/project-map-python/typeshed/stdlib/html/entities.pyi +8 -0
  421. package/analyzers/project-map-python/typeshed/stdlib/html/parser.pyi +40 -0
  422. package/analyzers/project-map-python/typeshed/stdlib/http/__init__.pyi +118 -0
  423. package/analyzers/project-map-python/typeshed/stdlib/http/client.pyi +318 -0
  424. package/analyzers/project-map-python/typeshed/stdlib/http/cookiejar.pyi +158 -0
  425. package/analyzers/project-map-python/typeshed/stdlib/http/cookies.pyi +53 -0
  426. package/analyzers/project-map-python/typeshed/stdlib/http/server.pyi +139 -0
  427. package/analyzers/project-map-python/typeshed/stdlib/imaplib.pyi +195 -0
  428. package/analyzers/project-map-python/typeshed/stdlib/imghdr.pyi +18 -0
  429. package/analyzers/project-map-python/typeshed/stdlib/imp.pyi +63 -0
  430. package/analyzers/project-map-python/typeshed/stdlib/importlib/__init__.pyi +17 -0
  431. package/analyzers/project-map-python/typeshed/stdlib/importlib/_abc.pyi +19 -0
  432. package/analyzers/project-map-python/typeshed/stdlib/importlib/_bootstrap.pyi +2 -0
  433. package/analyzers/project-map-python/typeshed/stdlib/importlib/_bootstrap_external.pyi +2 -0
  434. package/analyzers/project-map-python/typeshed/stdlib/importlib/abc.pyi +150 -0
  435. package/analyzers/project-map-python/typeshed/stdlib/importlib/machinery.pyi +43 -0
  436. package/analyzers/project-map-python/typeshed/stdlib/importlib/metadata/__init__.pyi +310 -0
  437. package/analyzers/project-map-python/typeshed/stdlib/importlib/metadata/_meta.pyi +65 -0
  438. package/analyzers/project-map-python/typeshed/stdlib/importlib/metadata/diagnose.pyi +2 -0
  439. package/analyzers/project-map-python/typeshed/stdlib/importlib/readers.pyi +69 -0
  440. package/analyzers/project-map-python/typeshed/stdlib/importlib/resources/__init__.pyi +81 -0
  441. package/analyzers/project-map-python/typeshed/stdlib/importlib/resources/_common.pyi +43 -0
  442. package/analyzers/project-map-python/typeshed/stdlib/importlib/resources/_functional.pyi +35 -0
  443. package/analyzers/project-map-python/typeshed/stdlib/importlib/resources/abc.pyi +64 -0
  444. package/analyzers/project-map-python/typeshed/stdlib/importlib/resources/readers.pyi +14 -0
  445. package/analyzers/project-map-python/typeshed/stdlib/importlib/resources/simple.pyi +59 -0
  446. package/analyzers/project-map-python/typeshed/stdlib/importlib/simple.pyi +11 -0
  447. package/analyzers/project-map-python/typeshed/stdlib/importlib/util.pyi +75 -0
  448. package/analyzers/project-map-python/typeshed/stdlib/inspect.pyi +749 -0
  449. package/analyzers/project-map-python/typeshed/stdlib/io.pyi +75 -0
  450. package/analyzers/project-map-python/typeshed/stdlib/ipaddress.pyi +249 -0
  451. package/analyzers/project-map-python/typeshed/stdlib/itertools.pyi +376 -0
  452. package/analyzers/project-map-python/typeshed/stdlib/json/__init__.pyi +93 -0
  453. package/analyzers/project-map-python/typeshed/stdlib/json/decoder.pyi +50 -0
  454. package/analyzers/project-map-python/typeshed/stdlib/json/encoder.pyi +40 -0
  455. package/analyzers/project-map-python/typeshed/stdlib/json/scanner.pyi +7 -0
  456. package/analyzers/project-map-python/typeshed/stdlib/json/tool.pyi +1 -0
  457. package/analyzers/project-map-python/typeshed/stdlib/keyword.pyi +16 -0
  458. package/analyzers/project-map-python/typeshed/stdlib/lib2to3/__init__.pyi +0 -0
  459. package/analyzers/project-map-python/typeshed/stdlib/lib2to3/btm_matcher.pyi +28 -0
  460. package/analyzers/project-map-python/typeshed/stdlib/lib2to3/fixer_base.pyi +42 -0
  461. package/analyzers/project-map-python/typeshed/stdlib/lib2to3/fixes/__init__.pyi +0 -0
  462. package/analyzers/project-map-python/typeshed/stdlib/lib2to3/fixes/fix_apply.pyi +8 -0
  463. package/analyzers/project-map-python/typeshed/stdlib/lib2to3/fixes/fix_asserts.pyi +10 -0
  464. package/analyzers/project-map-python/typeshed/stdlib/lib2to3/fixes/fix_basestring.pyi +8 -0
  465. package/analyzers/project-map-python/typeshed/stdlib/lib2to3/fixes/fix_buffer.pyi +8 -0
  466. package/analyzers/project-map-python/typeshed/stdlib/lib2to3/fixes/fix_dict.pyi +16 -0
  467. package/analyzers/project-map-python/typeshed/stdlib/lib2to3/fixes/fix_except.pyi +14 -0
  468. package/analyzers/project-map-python/typeshed/stdlib/lib2to3/fixes/fix_exec.pyi +8 -0
  469. package/analyzers/project-map-python/typeshed/stdlib/lib2to3/fixes/fix_execfile.pyi +8 -0
  470. package/analyzers/project-map-python/typeshed/stdlib/lib2to3/fixes/fix_exitfunc.pyi +13 -0
  471. package/analyzers/project-map-python/typeshed/stdlib/lib2to3/fixes/fix_filter.pyi +9 -0
  472. package/analyzers/project-map-python/typeshed/stdlib/lib2to3/fixes/fix_funcattrs.pyi +8 -0
  473. package/analyzers/project-map-python/typeshed/stdlib/lib2to3/fixes/fix_future.pyi +8 -0
  474. package/analyzers/project-map-python/typeshed/stdlib/lib2to3/fixes/fix_getcwdu.pyi +8 -0
  475. package/analyzers/project-map-python/typeshed/stdlib/lib2to3/fixes/fix_has_key.pyi +8 -0
  476. package/analyzers/project-map-python/typeshed/stdlib/lib2to3/fixes/fix_idioms.pyi +15 -0
  477. package/analyzers/project-map-python/typeshed/stdlib/lib2to3/fixes/fix_import.pyi +16 -0
  478. package/analyzers/project-map-python/typeshed/stdlib/lib2to3/fixes/fix_imports.pyi +21 -0
  479. package/analyzers/project-map-python/typeshed/stdlib/lib2to3/fixes/fix_imports2.pyi +8 -0
  480. package/analyzers/project-map-python/typeshed/stdlib/lib2to3/fixes/fix_input.pyi +11 -0
  481. package/analyzers/project-map-python/typeshed/stdlib/lib2to3/fixes/fix_intern.pyi +9 -0
  482. package/analyzers/project-map-python/typeshed/stdlib/lib2to3/fixes/fix_isinstance.pyi +8 -0
  483. package/analyzers/project-map-python/typeshed/stdlib/lib2to3/fixes/fix_itertools.pyi +9 -0
  484. package/analyzers/project-map-python/typeshed/stdlib/lib2to3/fixes/fix_itertools_imports.pyi +7 -0
  485. package/analyzers/project-map-python/typeshed/stdlib/lib2to3/fixes/fix_long.pyi +7 -0
  486. package/analyzers/project-map-python/typeshed/stdlib/lib2to3/fixes/fix_map.pyi +9 -0
  487. package/analyzers/project-map-python/typeshed/stdlib/lib2to3/fixes/fix_metaclass.pyi +17 -0
  488. package/analyzers/project-map-python/typeshed/stdlib/lib2to3/fixes/fix_methodattrs.pyi +10 -0
  489. package/analyzers/project-map-python/typeshed/stdlib/lib2to3/fixes/fix_ne.pyi +8 -0
  490. package/analyzers/project-map-python/typeshed/stdlib/lib2to3/fixes/fix_next.pyi +19 -0
  491. package/analyzers/project-map-python/typeshed/stdlib/lib2to3/fixes/fix_nonzero.pyi +8 -0
  492. package/analyzers/project-map-python/typeshed/stdlib/lib2to3/fixes/fix_numliterals.pyi +8 -0
  493. package/analyzers/project-map-python/typeshed/stdlib/lib2to3/fixes/fix_operator.pyi +12 -0
  494. package/analyzers/project-map-python/typeshed/stdlib/lib2to3/fixes/fix_paren.pyi +8 -0
  495. package/analyzers/project-map-python/typeshed/stdlib/lib2to3/fixes/fix_print.pyi +12 -0
  496. package/analyzers/project-map-python/typeshed/stdlib/lib2to3/fixes/fix_raise.pyi +8 -0
  497. package/analyzers/project-map-python/typeshed/stdlib/lib2to3/fixes/fix_raw_input.pyi +8 -0
  498. package/analyzers/project-map-python/typeshed/stdlib/lib2to3/fixes/fix_reduce.pyi +8 -0
  499. package/analyzers/project-map-python/typeshed/stdlib/lib2to3/fixes/fix_reload.pyi +9 -0
  500. package/analyzers/project-map-python/typeshed/stdlib/lib2to3/fixes/fix_renames.pyi +17 -0
  501. package/analyzers/project-map-python/typeshed/stdlib/lib2to3/fixes/fix_repr.pyi +8 -0
  502. package/analyzers/project-map-python/typeshed/stdlib/lib2to3/fixes/fix_set_literal.pyi +7 -0
  503. package/analyzers/project-map-python/typeshed/stdlib/lib2to3/fixes/fix_standarderror.pyi +8 -0
  504. package/analyzers/project-map-python/typeshed/stdlib/lib2to3/fixes/fix_sys_exc.pyi +9 -0
  505. package/analyzers/project-map-python/typeshed/stdlib/lib2to3/fixes/fix_throw.pyi +8 -0
  506. package/analyzers/project-map-python/typeshed/stdlib/lib2to3/fixes/fix_tuple_params.pyi +16 -0
  507. package/analyzers/project-map-python/typeshed/stdlib/lib2to3/fixes/fix_types.pyi +8 -0
  508. package/analyzers/project-map-python/typeshed/stdlib/lib2to3/fixes/fix_unicode.pyi +12 -0
  509. package/analyzers/project-map-python/typeshed/stdlib/lib2to3/fixes/fix_urllib.pyi +15 -0
  510. package/analyzers/project-map-python/typeshed/stdlib/lib2to3/fixes/fix_ws_comma.pyi +12 -0
  511. package/analyzers/project-map-python/typeshed/stdlib/lib2to3/fixes/fix_xrange.pyi +20 -0
  512. package/analyzers/project-map-python/typeshed/stdlib/lib2to3/fixes/fix_xreadlines.pyi +8 -0
  513. package/analyzers/project-map-python/typeshed/stdlib/lib2to3/fixes/fix_zip.pyi +9 -0
  514. package/analyzers/project-map-python/typeshed/stdlib/lib2to3/main.pyi +42 -0
  515. package/analyzers/project-map-python/typeshed/stdlib/lib2to3/pgen2/__init__.pyi +8 -0
  516. package/analyzers/project-map-python/typeshed/stdlib/lib2to3/pgen2/driver.pyi +27 -0
  517. package/analyzers/project-map-python/typeshed/stdlib/lib2to3/pgen2/grammar.pyi +25 -0
  518. package/analyzers/project-map-python/typeshed/stdlib/lib2to3/pgen2/literals.pyi +7 -0
  519. package/analyzers/project-map-python/typeshed/stdlib/lib2to3/pgen2/parse.pyi +30 -0
  520. package/analyzers/project-map-python/typeshed/stdlib/lib2to3/pgen2/pgen.pyi +52 -0
  521. package/analyzers/project-map-python/typeshed/stdlib/lib2to3/pgen2/token.pyi +69 -0
  522. package/analyzers/project-map-python/typeshed/stdlib/lib2to3/pgen2/tokenize.pyi +96 -0
  523. package/analyzers/project-map-python/typeshed/stdlib/lib2to3/pygram.pyi +114 -0
  524. package/analyzers/project-map-python/typeshed/stdlib/lib2to3/pytree.pyi +118 -0
  525. package/analyzers/project-map-python/typeshed/stdlib/lib2to3/refactor.pyi +85 -0
  526. package/analyzers/project-map-python/typeshed/stdlib/linecache.pyi +18 -0
  527. package/analyzers/project-map-python/typeshed/stdlib/locale.pyi +160 -0
  528. package/analyzers/project-map-python/typeshed/stdlib/logging/__init__.pyi +674 -0
  529. package/analyzers/project-map-python/typeshed/stdlib/logging/config.pyi +141 -0
  530. package/analyzers/project-map-python/typeshed/stdlib/logging/handlers.pyi +258 -0
  531. package/analyzers/project-map-python/typeshed/stdlib/lzma.pyi +181 -0
  532. package/analyzers/project-map-python/typeshed/stdlib/mailbox.pyi +301 -0
  533. package/analyzers/project-map-python/typeshed/stdlib/mailcap.pyi +11 -0
  534. package/analyzers/project-map-python/typeshed/stdlib/marshal.pyi +52 -0
  535. package/analyzers/project-map-python/typeshed/stdlib/math/__init__.pyi +157 -0
  536. package/analyzers/project-map-python/typeshed/stdlib/math/integer.pyi +8 -0
  537. package/analyzers/project-map-python/typeshed/stdlib/mimetypes.pyi +56 -0
  538. package/analyzers/project-map-python/typeshed/stdlib/mmap.pyi +187 -0
  539. package/analyzers/project-map-python/typeshed/stdlib/modulefinder.pyi +68 -0
  540. package/analyzers/project-map-python/typeshed/stdlib/msilib/__init__.pyi +177 -0
  541. package/analyzers/project-map-python/typeshed/stdlib/msilib/schema.pyi +95 -0
  542. package/analyzers/project-map-python/typeshed/stdlib/msilib/sequence.pyi +13 -0
  543. package/analyzers/project-map-python/typeshed/stdlib/msilib/text.pyi +8 -0
  544. package/analyzers/project-map-python/typeshed/stdlib/msvcrt.pyi +31 -0
  545. package/analyzers/project-map-python/typeshed/stdlib/multiprocessing/__init__.pyi +90 -0
  546. package/analyzers/project-map-python/typeshed/stdlib/multiprocessing/connection.pyi +94 -0
  547. package/analyzers/project-map-python/typeshed/stdlib/multiprocessing/context.pyi +220 -0
  548. package/analyzers/project-map-python/typeshed/stdlib/multiprocessing/dummy/__init__.pyi +89 -0
  549. package/analyzers/project-map-python/typeshed/stdlib/multiprocessing/dummy/connection.pyi +39 -0
  550. package/analyzers/project-map-python/typeshed/stdlib/multiprocessing/forkserver.pyi +78 -0
  551. package/analyzers/project-map-python/typeshed/stdlib/multiprocessing/heap.pyi +41 -0
  552. package/analyzers/project-map-python/typeshed/stdlib/multiprocessing/managers.pyi +389 -0
  553. package/analyzers/project-map-python/typeshed/stdlib/multiprocessing/pool.pyi +101 -0
  554. package/analyzers/project-map-python/typeshed/stdlib/multiprocessing/popen_fork.pyi +26 -0
  555. package/analyzers/project-map-python/typeshed/stdlib/multiprocessing/popen_forkserver.pyi +16 -0
  556. package/analyzers/project-map-python/typeshed/stdlib/multiprocessing/popen_spawn_posix.pyi +20 -0
  557. package/analyzers/project-map-python/typeshed/stdlib/multiprocessing/popen_spawn_win32.pyi +30 -0
  558. package/analyzers/project-map-python/typeshed/stdlib/multiprocessing/process.pyi +43 -0
  559. package/analyzers/project-map-python/typeshed/stdlib/multiprocessing/queues.pyi +46 -0
  560. package/analyzers/project-map-python/typeshed/stdlib/multiprocessing/reduction.pyi +95 -0
  561. package/analyzers/project-map-python/typeshed/stdlib/multiprocessing/resource_sharer.pyi +20 -0
  562. package/analyzers/project-map-python/typeshed/stdlib/multiprocessing/resource_tracker.pyi +21 -0
  563. package/analyzers/project-map-python/typeshed/stdlib/multiprocessing/shared_memory.pyi +43 -0
  564. package/analyzers/project-map-python/typeshed/stdlib/multiprocessing/sharedctypes.pyi +140 -0
  565. package/analyzers/project-map-python/typeshed/stdlib/multiprocessing/spawn.pyi +32 -0
  566. package/analyzers/project-map-python/typeshed/stdlib/multiprocessing/synchronize.pyi +63 -0
  567. package/analyzers/project-map-python/typeshed/stdlib/multiprocessing/util.pyi +109 -0
  568. package/analyzers/project-map-python/typeshed/stdlib/netrc.pyi +23 -0
  569. package/analyzers/project-map-python/typeshed/stdlib/nis.pyi +9 -0
  570. package/analyzers/project-map-python/typeshed/stdlib/nntplib.pyi +120 -0
  571. package/analyzers/project-map-python/typeshed/stdlib/nt.pyi +116 -0
  572. package/analyzers/project-map-python/typeshed/stdlib/ntpath.pyi +134 -0
  573. package/analyzers/project-map-python/typeshed/stdlib/nturl2path.pyi +6 -0
  574. package/analyzers/project-map-python/typeshed/stdlib/numbers.pyi +220 -0
  575. package/analyzers/project-map-python/typeshed/stdlib/opcode.pyi +53 -0
  576. package/analyzers/project-map-python/typeshed/stdlib/operator.pyi +219 -0
  577. package/analyzers/project-map-python/typeshed/stdlib/optparse.pyi +312 -0
  578. package/analyzers/project-map-python/typeshed/stdlib/os/__init__.pyi +1882 -0
  579. package/analyzers/project-map-python/typeshed/stdlib/os/path.pyi +8 -0
  580. package/analyzers/project-map-python/typeshed/stdlib/ossaudiodev.pyi +132 -0
  581. package/analyzers/project-map-python/typeshed/stdlib/pathlib/__init__.pyi +358 -0
  582. package/analyzers/project-map-python/typeshed/stdlib/pathlib/types.pyi +8 -0
  583. package/analyzers/project-map-python/typeshed/stdlib/pdb.pyi +275 -0
  584. package/analyzers/project-map-python/typeshed/stdlib/pickle.pyi +240 -0
  585. package/analyzers/project-map-python/typeshed/stdlib/pickletools.pyi +176 -0
  586. package/analyzers/project-map-python/typeshed/stdlib/pipes.pyi +16 -0
  587. package/analyzers/project-map-python/typeshed/stdlib/pkgutil.pyi +60 -0
  588. package/analyzers/project-map-python/typeshed/stdlib/platform.pyi +100 -0
  589. package/analyzers/project-map-python/typeshed/stdlib/plistlib.pyi +84 -0
  590. package/analyzers/project-map-python/typeshed/stdlib/poplib.pyi +93 -0
  591. package/analyzers/project-map-python/typeshed/stdlib/posix.pyi +427 -0
  592. package/analyzers/project-map-python/typeshed/stdlib/posixpath.pyi +230 -0
  593. package/analyzers/project-map-python/typeshed/stdlib/pprint.pyi +170 -0
  594. package/analyzers/project-map-python/typeshed/stdlib/profile.pyi +31 -0
  595. package/analyzers/project-map-python/typeshed/stdlib/profiling/__init__.pyi +3 -0
  596. package/analyzers/project-map-python/typeshed/stdlib/profiling/sampling/__init__.pyi +17 -0
  597. package/analyzers/project-map-python/typeshed/stdlib/profiling/sampling/collector.pyi +25 -0
  598. package/analyzers/project-map-python/typeshed/stdlib/profiling/sampling/gecko_collector.pyi +111 -0
  599. package/analyzers/project-map-python/typeshed/stdlib/profiling/sampling/heatmap_collector.pyi +24 -0
  600. package/analyzers/project-map-python/typeshed/stdlib/profiling/sampling/jsonl_collector.pyi +15 -0
  601. package/analyzers/project-map-python/typeshed/stdlib/profiling/sampling/pstats_collector.pyi +17 -0
  602. package/analyzers/project-map-python/typeshed/stdlib/profiling/sampling/stack_collector.pyi +39 -0
  603. package/analyzers/project-map-python/typeshed/stdlib/profiling/sampling/string_table.pyi +5 -0
  604. package/analyzers/project-map-python/typeshed/stdlib/profiling/tracing.pyi +9 -0
  605. package/analyzers/project-map-python/typeshed/stdlib/pstats.pyi +96 -0
  606. package/analyzers/project-map-python/typeshed/stdlib/pty.pyi +24 -0
  607. package/analyzers/project-map-python/typeshed/stdlib/pwd.pyi +27 -0
  608. package/analyzers/project-map-python/typeshed/stdlib/py_compile.pyi +28 -0
  609. package/analyzers/project-map-python/typeshed/stdlib/pyclbr.pyi +57 -0
  610. package/analyzers/project-map-python/typeshed/stdlib/pydoc.pyi +348 -0
  611. package/analyzers/project-map-python/typeshed/stdlib/pydoc_data/__init__.pyi +0 -0
  612. package/analyzers/project-map-python/typeshed/stdlib/pydoc_data/module_docs.pyi +3 -0
  613. package/analyzers/project-map-python/typeshed/stdlib/pydoc_data/topics.pyi +3 -0
  614. package/analyzers/project-map-python/typeshed/stdlib/pyexpat/__init__.pyi +91 -0
  615. package/analyzers/project-map-python/typeshed/stdlib/pyexpat/errors.pyi +53 -0
  616. package/analyzers/project-map-python/typeshed/stdlib/pyexpat/model.pyi +13 -0
  617. package/analyzers/project-map-python/typeshed/stdlib/queue.pyi +55 -0
  618. package/analyzers/project-map-python/typeshed/stdlib/quopri.pyi +12 -0
  619. package/analyzers/project-map-python/typeshed/stdlib/random.pyi +135 -0
  620. package/analyzers/project-map-python/typeshed/stdlib/re.pyi +346 -0
  621. package/analyzers/project-map-python/typeshed/stdlib/readline.pyi +39 -0
  622. package/analyzers/project-map-python/typeshed/stdlib/reprlib.pyi +64 -0
  623. package/analyzers/project-map-python/typeshed/stdlib/resource.pyi +102 -0
  624. package/analyzers/project-map-python/typeshed/stdlib/rlcompleter.pyi +9 -0
  625. package/analyzers/project-map-python/typeshed/stdlib/runpy.pyi +24 -0
  626. package/analyzers/project-map-python/typeshed/stdlib/sched.pyi +34 -0
  627. package/analyzers/project-map-python/typeshed/stdlib/secrets.pyi +17 -0
  628. package/analyzers/project-map-python/typeshed/stdlib/select.pyi +171 -0
  629. package/analyzers/project-map-python/typeshed/stdlib/selectors.pyi +67 -0
  630. package/analyzers/project-map-python/typeshed/stdlib/shelve.pyi +110 -0
  631. package/analyzers/project-map-python/typeshed/stdlib/shlex.pyi +63 -0
  632. package/analyzers/project-map-python/typeshed/stdlib/shutil.pyi +243 -0
  633. package/analyzers/project-map-python/typeshed/stdlib/signal.pyi +174 -0
  634. package/analyzers/project-map-python/typeshed/stdlib/site.pyi +46 -0
  635. package/analyzers/project-map-python/typeshed/stdlib/smtpd.pyi +92 -0
  636. package/analyzers/project-map-python/typeshed/stdlib/smtplib.pyi +223 -0
  637. package/analyzers/project-map-python/typeshed/stdlib/sndhdr.pyi +14 -0
  638. package/analyzers/project-map-python/typeshed/stdlib/socket.pyi +1581 -0
  639. package/analyzers/project-map-python/typeshed/stdlib/socketserver.pyi +170 -0
  640. package/analyzers/project-map-python/typeshed/stdlib/spwd.pyi +45 -0
  641. package/analyzers/project-map-python/typeshed/stdlib/sqlite3/__init__.pyi +499 -0
  642. package/analyzers/project-map-python/typeshed/stdlib/sqlite3/dbapi2.pyi +244 -0
  643. package/analyzers/project-map-python/typeshed/stdlib/sqlite3/dump.pyi +2 -0
  644. package/analyzers/project-map-python/typeshed/stdlib/sre_compile.pyi +12 -0
  645. package/analyzers/project-map-python/typeshed/stdlib/sre_constants.pyi +135 -0
  646. package/analyzers/project-map-python/typeshed/stdlib/sre_parse.pyi +102 -0
  647. package/analyzers/project-map-python/typeshed/stdlib/ssl.pyi +530 -0
  648. package/analyzers/project-map-python/typeshed/stdlib/stat.pyi +126 -0
  649. package/analyzers/project-map-python/typeshed/stdlib/statistics.pyi +161 -0
  650. package/analyzers/project-map-python/typeshed/stdlib/string/__init__.pyi +81 -0
  651. package/analyzers/project-map-python/typeshed/stdlib/string/templatelib.pyi +36 -0
  652. package/analyzers/project-map-python/typeshed/stdlib/stringprep.pyi +29 -0
  653. package/analyzers/project-map-python/typeshed/stdlib/struct.pyi +5 -0
  654. package/analyzers/project-map-python/typeshed/stdlib/subprocess.pyi +1484 -0
  655. package/analyzers/project-map-python/typeshed/stdlib/sunau.pyi +82 -0
  656. package/analyzers/project-map-python/typeshed/stdlib/symtable.pyi +95 -0
  657. package/analyzers/project-map-python/typeshed/stdlib/sys/__init__.pyi +537 -0
  658. package/analyzers/project-map-python/typeshed/stdlib/sys/__jit.pyi +11 -0
  659. package/analyzers/project-map-python/typeshed/stdlib/sys/_monitoring.pyi +69 -0
  660. package/analyzers/project-map-python/typeshed/stdlib/sysconfig.pyi +59 -0
  661. package/analyzers/project-map-python/typeshed/stdlib/syslog.pyi +58 -0
  662. package/analyzers/project-map-python/typeshed/stdlib/tabnanny.pyi +16 -0
  663. package/analyzers/project-map-python/typeshed/stdlib/tarfile.pyi +864 -0
  664. package/analyzers/project-map-python/typeshed/stdlib/telnetlib.pyi +123 -0
  665. package/analyzers/project-map-python/typeshed/stdlib/tempfile.pyi +474 -0
  666. package/analyzers/project-map-python/typeshed/stdlib/termios.pyi +303 -0
  667. package/analyzers/project-map-python/typeshed/stdlib/textwrap.pyi +103 -0
  668. package/analyzers/project-map-python/typeshed/stdlib/this.pyi +2 -0
  669. package/analyzers/project-map-python/typeshed/stdlib/threading.pyi +221 -0
  670. package/analyzers/project-map-python/typeshed/stdlib/time.pyi +117 -0
  671. package/analyzers/project-map-python/typeshed/stdlib/timeit.pyi +46 -0
  672. package/analyzers/project-map-python/typeshed/stdlib/tkinter/__init__.pyi +4370 -0
  673. package/analyzers/project-map-python/typeshed/stdlib/tkinter/colorchooser.pyi +12 -0
  674. package/analyzers/project-map-python/typeshed/stdlib/tkinter/commondialog.pyi +14 -0
  675. package/analyzers/project-map-python/typeshed/stdlib/tkinter/constants.pyi +80 -0
  676. package/analyzers/project-map-python/typeshed/stdlib/tkinter/dialog.pyi +13 -0
  677. package/analyzers/project-map-python/typeshed/stdlib/tkinter/dnd.pyi +19 -0
  678. package/analyzers/project-map-python/typeshed/stdlib/tkinter/filedialog.pyi +149 -0
  679. package/analyzers/project-map-python/typeshed/stdlib/tkinter/font.pyi +120 -0
  680. package/analyzers/project-map-python/typeshed/stdlib/tkinter/messagebox.pyi +98 -0
  681. package/analyzers/project-map-python/typeshed/stdlib/tkinter/scrolledtext.pyi +9 -0
  682. package/analyzers/project-map-python/typeshed/stdlib/tkinter/simpledialog.pyi +58 -0
  683. package/analyzers/project-map-python/typeshed/stdlib/tkinter/tix.pyi +299 -0
  684. package/analyzers/project-map-python/typeshed/stdlib/tkinter/ttk.pyi +1434 -0
  685. package/analyzers/project-map-python/typeshed/stdlib/token.pyi +166 -0
  686. package/analyzers/project-map-python/typeshed/stdlib/tokenize.pyi +201 -0
  687. package/analyzers/project-map-python/typeshed/stdlib/tomllib.pyi +27 -0
  688. package/analyzers/project-map-python/typeshed/stdlib/trace.pyi +85 -0
  689. package/analyzers/project-map-python/typeshed/stdlib/traceback.pyi +293 -0
  690. package/analyzers/project-map-python/typeshed/stdlib/tracemalloc.pyi +123 -0
  691. package/analyzers/project-map-python/typeshed/stdlib/tty.pyi +29 -0
  692. package/analyzers/project-map-python/typeshed/stdlib/turtle.pyi +856 -0
  693. package/analyzers/project-map-python/typeshed/stdlib/types.pyi +744 -0
  694. package/analyzers/project-map-python/typeshed/stdlib/typing.pyi +1243 -0
  695. package/analyzers/project-map-python/typeshed/stdlib/typing_extensions.pyi +690 -0
  696. package/analyzers/project-map-python/typeshed/stdlib/unicodedata.pyi +94 -0
  697. package/analyzers/project-map-python/typeshed/stdlib/unittest/__init__.pyi +63 -0
  698. package/analyzers/project-map-python/typeshed/stdlib/unittest/_log.pyi +29 -0
  699. package/analyzers/project-map-python/typeshed/stdlib/unittest/async_case.pyi +24 -0
  700. package/analyzers/project-map-python/typeshed/stdlib/unittest/case.pyi +353 -0
  701. package/analyzers/project-map-python/typeshed/stdlib/unittest/loader.pyi +55 -0
  702. package/analyzers/project-map-python/typeshed/stdlib/unittest/main.pyi +74 -0
  703. package/analyzers/project-map-python/typeshed/stdlib/unittest/mock.pyi +555 -0
  704. package/analyzers/project-map-python/typeshed/stdlib/unittest/result.pyi +46 -0
  705. package/analyzers/project-map-python/typeshed/stdlib/unittest/runner.pyi +93 -0
  706. package/analyzers/project-map-python/typeshed/stdlib/unittest/signals.pyi +15 -0
  707. package/analyzers/project-map-python/typeshed/stdlib/unittest/suite.pyi +23 -0
  708. package/analyzers/project-map-python/typeshed/stdlib/unittest/util.pyi +39 -0
  709. package/analyzers/project-map-python/typeshed/stdlib/urllib/__init__.pyi +0 -0
  710. package/analyzers/project-map-python/typeshed/stdlib/urllib/error.pyi +29 -0
  711. package/analyzers/project-map-python/typeshed/stdlib/urllib/parse.pyi +354 -0
  712. package/analyzers/project-map-python/typeshed/stdlib/urllib/request.pyi +443 -0
  713. package/analyzers/project-map-python/typeshed/stdlib/urllib/response.pyi +45 -0
  714. package/analyzers/project-map-python/typeshed/stdlib/urllib/robotparser.pyi +20 -0
  715. package/analyzers/project-map-python/typeshed/stdlib/uu.pyi +12 -0
  716. package/analyzers/project-map-python/typeshed/stdlib/uuid.pyi +106 -0
  717. package/analyzers/project-map-python/typeshed/stdlib/venv/__init__.pyi +86 -0
  718. package/analyzers/project-map-python/typeshed/stdlib/warnings.pyi +146 -0
  719. package/analyzers/project-map-python/typeshed/stdlib/wave.pyi +105 -0
  720. package/analyzers/project-map-python/typeshed/stdlib/weakref.pyi +213 -0
  721. package/analyzers/project-map-python/typeshed/stdlib/webbrowser.pyi +78 -0
  722. package/analyzers/project-map-python/typeshed/stdlib/winreg.pyi +137 -0
  723. package/analyzers/project-map-python/typeshed/stdlib/winsound.pyi +40 -0
  724. package/analyzers/project-map-python/typeshed/stdlib/wsgiref/__init__.pyi +0 -0
  725. package/analyzers/project-map-python/typeshed/stdlib/wsgiref/handlers.pyi +91 -0
  726. package/analyzers/project-map-python/typeshed/stdlib/wsgiref/headers.pyi +27 -0
  727. package/analyzers/project-map-python/typeshed/stdlib/wsgiref/simple_server.pyi +37 -0
  728. package/analyzers/project-map-python/typeshed/stdlib/wsgiref/types.pyi +31 -0
  729. package/analyzers/project-map-python/typeshed/stdlib/wsgiref/util.pyi +26 -0
  730. package/analyzers/project-map-python/typeshed/stdlib/wsgiref/validate.pyi +49 -0
  731. package/analyzers/project-map-python/typeshed/stdlib/xdrlib.pyi +57 -0
  732. package/analyzers/project-map-python/typeshed/stdlib/xml/__init__.pyi +9 -0
  733. package/analyzers/project-map-python/typeshed/stdlib/xml/dom/NodeFilter.pyi +22 -0
  734. package/analyzers/project-map-python/typeshed/stdlib/xml/dom/__init__.pyi +101 -0
  735. package/analyzers/project-map-python/typeshed/stdlib/xml/dom/domreg.pyi +8 -0
  736. package/analyzers/project-map-python/typeshed/stdlib/xml/dom/expatbuilder.pyi +125 -0
  737. package/analyzers/project-map-python/typeshed/stdlib/xml/dom/minicompat.pyi +24 -0
  738. package/analyzers/project-map-python/typeshed/stdlib/xml/dom/minidom.pyi +693 -0
  739. package/analyzers/project-map-python/typeshed/stdlib/xml/dom/pulldom.pyi +109 -0
  740. package/analyzers/project-map-python/typeshed/stdlib/xml/dom/xmlbuilder.pyi +81 -0
  741. package/analyzers/project-map-python/typeshed/stdlib/xml/etree/ElementInclude.pyi +28 -0
  742. package/analyzers/project-map-python/typeshed/stdlib/xml/etree/ElementPath.pyi +42 -0
  743. package/analyzers/project-map-python/typeshed/stdlib/xml/etree/ElementTree.pyi +402 -0
  744. package/analyzers/project-map-python/typeshed/stdlib/xml/etree/__init__.pyi +0 -0
  745. package/analyzers/project-map-python/typeshed/stdlib/xml/etree/cElementTree.pyi +1 -0
  746. package/analyzers/project-map-python/typeshed/stdlib/xml/parsers/__init__.pyi +1 -0
  747. package/analyzers/project-map-python/typeshed/stdlib/xml/parsers/expat/__init__.pyi +7 -0
  748. package/analyzers/project-map-python/typeshed/stdlib/xml/parsers/expat/errors.pyi +1 -0
  749. package/analyzers/project-map-python/typeshed/stdlib/xml/parsers/expat/model.pyi +1 -0
  750. package/analyzers/project-map-python/typeshed/stdlib/xml/sax/__init__.pyi +42 -0
  751. package/analyzers/project-map-python/typeshed/stdlib/xml/sax/_exceptions.pyi +19 -0
  752. package/analyzers/project-map-python/typeshed/stdlib/xml/sax/expatreader.pyi +72 -0
  753. package/analyzers/project-map-python/typeshed/stdlib/xml/sax/handler.pyi +84 -0
  754. package/analyzers/project-map-python/typeshed/stdlib/xml/sax/saxutils.pyi +68 -0
  755. package/analyzers/project-map-python/typeshed/stdlib/xml/sax/xmlreader.pyi +94 -0
  756. package/analyzers/project-map-python/typeshed/stdlib/xml/utils.pyi +2 -0
  757. package/analyzers/project-map-python/typeshed/stdlib/xmlrpc/__init__.pyi +0 -0
  758. package/analyzers/project-map-python/typeshed/stdlib/xmlrpc/client.pyi +300 -0
  759. package/analyzers/project-map-python/typeshed/stdlib/xmlrpc/server.pyi +149 -0
  760. package/analyzers/project-map-python/typeshed/stdlib/xxlimited.pyi +15 -0
  761. package/analyzers/project-map-python/typeshed/stdlib/zipapp.pyi +19 -0
  762. package/analyzers/project-map-python/typeshed/stdlib/zipfile/__init__.pyi +411 -0
  763. package/analyzers/project-map-python/typeshed/stdlib/zipfile/_path/__init__.pyi +87 -0
  764. package/analyzers/project-map-python/typeshed/stdlib/zipfile/_path/glob.pyi +26 -0
  765. package/analyzers/project-map-python/typeshed/stdlib/zipimport.pyi +44 -0
  766. package/analyzers/project-map-python/typeshed/stdlib/zlib.pyi +81 -0
  767. package/analyzers/project-map-python/typeshed/stdlib/zoneinfo/__init__.pyi +36 -0
  768. package/analyzers/project-map-python/typeshed/stdlib/zoneinfo/_common.pyi +14 -0
  769. package/analyzers/project-map-python/typeshed/stdlib/zoneinfo/_tzpath.pyi +13 -0
  770. package/analyzers/project-map-python-worker.mjs +122009 -0
  771. package/analyzers/project-map-worker.mjs +31771 -0
  772. package/dist/cli.mjs +22754 -0
  773. package/package.json +40 -0
@@ -0,0 +1,2199 @@
1
+ import ast
2
+ import builtins
3
+ import os
4
+ import sys
5
+ import typing_extensions
6
+ from _ast import (
7
+ PyCF_ALLOW_TOP_LEVEL_AWAIT as PyCF_ALLOW_TOP_LEVEL_AWAIT,
8
+ PyCF_ONLY_AST as PyCF_ONLY_AST,
9
+ PyCF_TYPE_COMMENTS as PyCF_TYPE_COMMENTS,
10
+ )
11
+ from _typeshed import ReadableBuffer, Unused
12
+ from collections.abc import Iterable, Iterator, Sequence
13
+ from types import EllipsisType
14
+ from typing import Any, ClassVar, Generic, Literal, TypedDict, TypeVar as _TypeVar, overload, type_check_only
15
+ from typing_extensions import Self, Unpack, deprecated, disjoint_base
16
+
17
+ if sys.version_info >= (3, 13):
18
+ from _ast import PyCF_OPTIMIZED_AST as PyCF_OPTIMIZED_AST
19
+
20
+ # Used for node end positions in constructor keyword arguments
21
+ _EndPositionT = typing_extensions.TypeVar("_EndPositionT", int, int | None, default=int | None)
22
+
23
+ # Corresponds to the names in the `_attributes` class variable which is non-empty in certain AST nodes
24
+ @type_check_only
25
+ class _Attributes(TypedDict, Generic[_EndPositionT], total=False):
26
+ lineno: int
27
+ col_offset: int
28
+ end_lineno: _EndPositionT
29
+ end_col_offset: _EndPositionT
30
+
31
+ # The various AST classes are implemented in C, and imported from _ast at runtime,
32
+ # but they consider themselves to live in the ast module,
33
+ # so we'll define the stubs in this file.
34
+ if sys.version_info >= (3, 12):
35
+ @disjoint_base
36
+ class AST:
37
+ __match_args__ = ()
38
+ _attributes: ClassVar[tuple[str, ...]]
39
+ _fields: ClassVar[tuple[str, ...]]
40
+ if sys.version_info >= (3, 13):
41
+ _field_types: ClassVar[dict[str, Any]]
42
+
43
+ if sys.version_info >= (3, 14):
44
+ def __replace__(self) -> Self: ...
45
+
46
+ else:
47
+ class AST:
48
+ __match_args__ = ()
49
+ _attributes: ClassVar[tuple[str, ...]]
50
+ _fields: ClassVar[tuple[str, ...]]
51
+
52
+ class mod(AST): ...
53
+
54
+ class Module(mod):
55
+ __match_args__ = ("body", "type_ignores")
56
+ body: list[stmt]
57
+ type_ignores: list[TypeIgnore]
58
+ if sys.version_info >= (3, 13):
59
+ def __init__(self, body: list[stmt] = ..., type_ignores: list[TypeIgnore] = ...) -> None: ...
60
+ else:
61
+ def __init__(self, body: list[stmt], type_ignores: list[TypeIgnore]) -> None: ...
62
+
63
+ if sys.version_info >= (3, 14):
64
+ def __replace__(self, *, body: list[stmt] = ..., type_ignores: list[TypeIgnore] = ...) -> Self: ...
65
+
66
+ class Interactive(mod):
67
+ __match_args__ = ("body",)
68
+ body: list[stmt]
69
+ if sys.version_info >= (3, 13):
70
+ def __init__(self, body: list[stmt] = ...) -> None: ...
71
+ else:
72
+ def __init__(self, body: list[stmt]) -> None: ...
73
+
74
+ if sys.version_info >= (3, 14):
75
+ def __replace__(self, *, body: list[stmt] = ...) -> Self: ...
76
+
77
+ class Expression(mod):
78
+ __match_args__ = ("body",)
79
+ body: expr
80
+ def __init__(self, body: expr) -> None: ...
81
+
82
+ if sys.version_info >= (3, 14):
83
+ def __replace__(self, *, body: expr = ...) -> Self: ...
84
+
85
+ class FunctionType(mod):
86
+ __match_args__ = ("argtypes", "returns")
87
+ argtypes: list[expr]
88
+ returns: expr
89
+ if sys.version_info >= (3, 13):
90
+ @overload
91
+ def __init__(self, argtypes: list[expr], returns: expr) -> None: ...
92
+ @overload
93
+ def __init__(self, argtypes: list[expr] = ..., *, returns: expr) -> None: ...
94
+ else:
95
+ def __init__(self, argtypes: list[expr], returns: expr) -> None: ...
96
+
97
+ if sys.version_info >= (3, 14):
98
+ def __replace__(self, *, argtypes: list[expr] = ..., returns: expr = ...) -> Self: ...
99
+
100
+ class stmt(AST):
101
+ lineno: int
102
+ col_offset: int
103
+ end_lineno: int | None
104
+ end_col_offset: int | None
105
+ def __init__(self, **kwargs: Unpack[_Attributes]) -> None: ...
106
+
107
+ if sys.version_info >= (3, 14):
108
+ def __replace__(self, **kwargs: Unpack[_Attributes]) -> Self: ...
109
+
110
+ class FunctionDef(stmt):
111
+ if sys.version_info >= (3, 12):
112
+ __match_args__ = ("name", "args", "body", "decorator_list", "returns", "type_comment", "type_params")
113
+ else:
114
+ __match_args__ = ("name", "args", "body", "decorator_list", "returns", "type_comment")
115
+ name: str
116
+ args: arguments
117
+ body: list[stmt]
118
+ decorator_list: list[expr]
119
+ returns: expr | None
120
+ type_comment: str | None
121
+ if sys.version_info >= (3, 12):
122
+ type_params: list[type_param]
123
+ if sys.version_info >= (3, 13):
124
+ def __init__(
125
+ self,
126
+ name: str,
127
+ args: arguments,
128
+ body: list[stmt] = ...,
129
+ decorator_list: list[expr] = ...,
130
+ returns: expr | None = None,
131
+ type_comment: str | None = None,
132
+ type_params: list[type_param] = ...,
133
+ **kwargs: Unpack[_Attributes],
134
+ ) -> None: ...
135
+ elif sys.version_info >= (3, 12):
136
+ @overload
137
+ def __init__(
138
+ self,
139
+ name: str,
140
+ args: arguments,
141
+ body: list[stmt],
142
+ decorator_list: list[expr],
143
+ returns: expr | None,
144
+ type_comment: str | None,
145
+ type_params: list[type_param],
146
+ **kwargs: Unpack[_Attributes],
147
+ ) -> None: ...
148
+ @overload
149
+ def __init__(
150
+ self,
151
+ name: str,
152
+ args: arguments,
153
+ body: list[stmt],
154
+ decorator_list: list[expr],
155
+ returns: expr | None = None,
156
+ type_comment: str | None = None,
157
+ *,
158
+ type_params: list[type_param],
159
+ **kwargs: Unpack[_Attributes],
160
+ ) -> None: ...
161
+ else:
162
+ def __init__(
163
+ self,
164
+ name: str,
165
+ args: arguments,
166
+ body: list[stmt],
167
+ decorator_list: list[expr],
168
+ returns: expr | None = None,
169
+ type_comment: str | None = None,
170
+ **kwargs: Unpack[_Attributes],
171
+ ) -> None: ...
172
+
173
+ if sys.version_info >= (3, 14):
174
+ def __replace__(
175
+ self,
176
+ *,
177
+ name: str = ...,
178
+ args: arguments = ...,
179
+ body: list[stmt] = ...,
180
+ decorator_list: list[expr] = ...,
181
+ returns: expr | None = ...,
182
+ type_comment: str | None = ...,
183
+ type_params: list[type_param] = ...,
184
+ **kwargs: Unpack[_Attributes],
185
+ ) -> Self: ...
186
+
187
+ class AsyncFunctionDef(stmt):
188
+ if sys.version_info >= (3, 12):
189
+ __match_args__ = ("name", "args", "body", "decorator_list", "returns", "type_comment", "type_params")
190
+ else:
191
+ __match_args__ = ("name", "args", "body", "decorator_list", "returns", "type_comment")
192
+ name: str
193
+ args: arguments
194
+ body: list[stmt]
195
+ decorator_list: list[expr]
196
+ returns: expr | None
197
+ type_comment: str | None
198
+ if sys.version_info >= (3, 12):
199
+ type_params: list[type_param]
200
+ if sys.version_info >= (3, 13):
201
+ def __init__(
202
+ self,
203
+ name: str,
204
+ args: arguments,
205
+ body: list[stmt] = ...,
206
+ decorator_list: list[expr] = ...,
207
+ returns: expr | None = None,
208
+ type_comment: str | None = None,
209
+ type_params: list[type_param] = ...,
210
+ **kwargs: Unpack[_Attributes],
211
+ ) -> None: ...
212
+ elif sys.version_info >= (3, 12):
213
+ @overload
214
+ def __init__(
215
+ self,
216
+ name: str,
217
+ args: arguments,
218
+ body: list[stmt],
219
+ decorator_list: list[expr],
220
+ returns: expr | None,
221
+ type_comment: str | None,
222
+ type_params: list[type_param],
223
+ **kwargs: Unpack[_Attributes],
224
+ ) -> None: ...
225
+ @overload
226
+ def __init__(
227
+ self,
228
+ name: str,
229
+ args: arguments,
230
+ body: list[stmt],
231
+ decorator_list: list[expr],
232
+ returns: expr | None = None,
233
+ type_comment: str | None = None,
234
+ *,
235
+ type_params: list[type_param],
236
+ **kwargs: Unpack[_Attributes],
237
+ ) -> None: ...
238
+ else:
239
+ def __init__(
240
+ self,
241
+ name: str,
242
+ args: arguments,
243
+ body: list[stmt],
244
+ decorator_list: list[expr],
245
+ returns: expr | None = None,
246
+ type_comment: str | None = None,
247
+ **kwargs: Unpack[_Attributes],
248
+ ) -> None: ...
249
+
250
+ if sys.version_info >= (3, 14):
251
+ def __replace__(
252
+ self,
253
+ *,
254
+ name: str = ...,
255
+ args: arguments = ...,
256
+ body: list[stmt] = ...,
257
+ decorator_list: list[expr] = ...,
258
+ returns: expr | None = ...,
259
+ type_comment: str | None = ...,
260
+ type_params: list[type_param] = ...,
261
+ **kwargs: Unpack[_Attributes],
262
+ ) -> Self: ...
263
+
264
+ class ClassDef(stmt):
265
+ if sys.version_info >= (3, 12):
266
+ __match_args__ = ("name", "bases", "keywords", "body", "decorator_list", "type_params")
267
+ else:
268
+ __match_args__ = ("name", "bases", "keywords", "body", "decorator_list")
269
+ name: str
270
+ bases: list[expr]
271
+ keywords: list[keyword]
272
+ body: list[stmt]
273
+ decorator_list: list[expr]
274
+ if sys.version_info >= (3, 12):
275
+ type_params: list[type_param]
276
+ if sys.version_info >= (3, 13):
277
+ def __init__(
278
+ self,
279
+ name: str,
280
+ bases: list[expr] = ...,
281
+ keywords: list[keyword] = ...,
282
+ body: list[stmt] = ...,
283
+ decorator_list: list[expr] = ...,
284
+ type_params: list[type_param] = ...,
285
+ **kwargs: Unpack[_Attributes],
286
+ ) -> None: ...
287
+ elif sys.version_info >= (3, 12):
288
+ def __init__(
289
+ self,
290
+ name: str,
291
+ bases: list[expr],
292
+ keywords: list[keyword],
293
+ body: list[stmt],
294
+ decorator_list: list[expr],
295
+ type_params: list[type_param],
296
+ **kwargs: Unpack[_Attributes],
297
+ ) -> None: ...
298
+ else:
299
+ def __init__(
300
+ self,
301
+ name: str,
302
+ bases: list[expr],
303
+ keywords: list[keyword],
304
+ body: list[stmt],
305
+ decorator_list: list[expr],
306
+ **kwargs: Unpack[_Attributes],
307
+ ) -> None: ...
308
+
309
+ if sys.version_info >= (3, 14):
310
+ def __replace__(
311
+ self,
312
+ *,
313
+ name: str = ...,
314
+ bases: list[expr] = ...,
315
+ keywords: list[keyword] = ...,
316
+ body: list[stmt] = ...,
317
+ decorator_list: list[expr] = ...,
318
+ type_params: list[type_param] = ...,
319
+ **kwargs: Unpack[_Attributes],
320
+ ) -> Self: ...
321
+
322
+ class Return(stmt):
323
+ __match_args__ = ("value",)
324
+ value: expr | None
325
+ def __init__(self, value: expr | None = None, **kwargs: Unpack[_Attributes]) -> None: ...
326
+
327
+ if sys.version_info >= (3, 14):
328
+ def __replace__(self, *, value: expr | None = ..., **kwargs: Unpack[_Attributes]) -> Self: ...
329
+
330
+ class Delete(stmt):
331
+ __match_args__ = ("targets",)
332
+ targets: list[expr]
333
+ if sys.version_info >= (3, 13):
334
+ def __init__(self, targets: list[expr] = ..., **kwargs: Unpack[_Attributes]) -> None: ...
335
+ else:
336
+ def __init__(self, targets: list[expr], **kwargs: Unpack[_Attributes]) -> None: ...
337
+
338
+ if sys.version_info >= (3, 14):
339
+ def __replace__(self, *, targets: list[expr] = ..., **kwargs: Unpack[_Attributes]) -> Self: ...
340
+
341
+ class Assign(stmt):
342
+ __match_args__ = ("targets", "value", "type_comment")
343
+ targets: list[expr]
344
+ value: expr
345
+ type_comment: str | None
346
+ if sys.version_info >= (3, 13):
347
+ @overload
348
+ def __init__(
349
+ self, targets: list[expr], value: expr, type_comment: str | None = None, **kwargs: Unpack[_Attributes]
350
+ ) -> None: ...
351
+ @overload
352
+ def __init__(
353
+ self, targets: list[expr] = ..., *, value: expr, type_comment: str | None = None, **kwargs: Unpack[_Attributes]
354
+ ) -> None: ...
355
+ else:
356
+ def __init__(
357
+ self, targets: list[expr], value: expr, type_comment: str | None = None, **kwargs: Unpack[_Attributes]
358
+ ) -> None: ...
359
+
360
+ if sys.version_info >= (3, 14):
361
+ def __replace__(
362
+ self, *, targets: list[expr] = ..., value: expr = ..., type_comment: str | None = ..., **kwargs: Unpack[_Attributes]
363
+ ) -> Self: ...
364
+
365
+ if sys.version_info >= (3, 12):
366
+ class TypeAlias(stmt):
367
+ __match_args__ = ("name", "type_params", "value")
368
+ name: Name
369
+ type_params: list[type_param]
370
+ value: expr
371
+ if sys.version_info >= (3, 13):
372
+ @overload
373
+ def __init__(
374
+ self, name: Name, type_params: list[type_param], value: expr, **kwargs: Unpack[_Attributes[int]]
375
+ ) -> None: ...
376
+ @overload
377
+ def __init__(
378
+ self, name: Name, type_params: list[type_param] = ..., *, value: expr, **kwargs: Unpack[_Attributes[int]]
379
+ ) -> None: ...
380
+ else:
381
+ def __init__(
382
+ self, name: Name, type_params: list[type_param], value: expr, **kwargs: Unpack[_Attributes[int]]
383
+ ) -> None: ...
384
+
385
+ if sys.version_info >= (3, 14):
386
+ def __replace__( # type: ignore[override]
387
+ self,
388
+ *,
389
+ name: Name = ...,
390
+ type_params: list[type_param] = ...,
391
+ value: expr = ...,
392
+ **kwargs: Unpack[_Attributes[int]],
393
+ ) -> Self: ...
394
+
395
+ class AugAssign(stmt):
396
+ __match_args__ = ("target", "op", "value")
397
+ target: Name | Attribute | Subscript
398
+ op: operator
399
+ value: expr
400
+ def __init__(
401
+ self, target: Name | Attribute | Subscript, op: operator, value: expr, **kwargs: Unpack[_Attributes]
402
+ ) -> None: ...
403
+
404
+ if sys.version_info >= (3, 14):
405
+ def __replace__(
406
+ self,
407
+ *,
408
+ target: Name | Attribute | Subscript = ...,
409
+ op: operator = ...,
410
+ value: expr = ...,
411
+ **kwargs: Unpack[_Attributes],
412
+ ) -> Self: ...
413
+
414
+ class AnnAssign(stmt):
415
+ __match_args__ = ("target", "annotation", "value", "simple")
416
+ target: Name | Attribute | Subscript
417
+ annotation: expr
418
+ value: expr | None
419
+ simple: int
420
+
421
+ @overload
422
+ def __init__(
423
+ self,
424
+ target: Name | Attribute | Subscript,
425
+ annotation: expr,
426
+ value: expr | None,
427
+ simple: int,
428
+ **kwargs: Unpack[_Attributes],
429
+ ) -> None: ...
430
+ @overload
431
+ def __init__(
432
+ self,
433
+ target: Name | Attribute | Subscript,
434
+ annotation: expr,
435
+ value: expr | None = None,
436
+ *,
437
+ simple: int,
438
+ **kwargs: Unpack[_Attributes],
439
+ ) -> None: ...
440
+
441
+ if sys.version_info >= (3, 14):
442
+ def __replace__(
443
+ self,
444
+ *,
445
+ target: Name | Attribute | Subscript = ...,
446
+ annotation: expr = ...,
447
+ value: expr | None = ...,
448
+ simple: int = ...,
449
+ **kwargs: Unpack[_Attributes],
450
+ ) -> Self: ...
451
+
452
+ class For(stmt):
453
+ __match_args__ = ("target", "iter", "body", "orelse", "type_comment")
454
+ target: expr
455
+ iter: expr
456
+ body: list[stmt]
457
+ orelse: list[stmt]
458
+ type_comment: str | None
459
+ if sys.version_info >= (3, 13):
460
+ def __init__(
461
+ self,
462
+ target: expr,
463
+ iter: expr,
464
+ body: list[stmt] = ...,
465
+ orelse: list[stmt] = ...,
466
+ type_comment: str | None = None,
467
+ **kwargs: Unpack[_Attributes],
468
+ ) -> None: ...
469
+ else:
470
+ def __init__(
471
+ self,
472
+ target: expr,
473
+ iter: expr,
474
+ body: list[stmt],
475
+ orelse: list[stmt],
476
+ type_comment: str | None = None,
477
+ **kwargs: Unpack[_Attributes],
478
+ ) -> None: ...
479
+
480
+ if sys.version_info >= (3, 14):
481
+ def __replace__(
482
+ self,
483
+ *,
484
+ target: expr = ...,
485
+ iter: expr = ...,
486
+ body: list[stmt] = ...,
487
+ orelse: list[stmt] = ...,
488
+ type_comment: str | None = ...,
489
+ **kwargs: Unpack[_Attributes],
490
+ ) -> Self: ...
491
+
492
+ class AsyncFor(stmt):
493
+ __match_args__ = ("target", "iter", "body", "orelse", "type_comment")
494
+ target: expr
495
+ iter: expr
496
+ body: list[stmt]
497
+ orelse: list[stmt]
498
+ type_comment: str | None
499
+ if sys.version_info >= (3, 13):
500
+ def __init__(
501
+ self,
502
+ target: expr,
503
+ iter: expr,
504
+ body: list[stmt] = ...,
505
+ orelse: list[stmt] = ...,
506
+ type_comment: str | None = None,
507
+ **kwargs: Unpack[_Attributes],
508
+ ) -> None: ...
509
+ else:
510
+ def __init__(
511
+ self,
512
+ target: expr,
513
+ iter: expr,
514
+ body: list[stmt],
515
+ orelse: list[stmt],
516
+ type_comment: str | None = None,
517
+ **kwargs: Unpack[_Attributes],
518
+ ) -> None: ...
519
+
520
+ if sys.version_info >= (3, 14):
521
+ def __replace__(
522
+ self,
523
+ *,
524
+ target: expr = ...,
525
+ iter: expr = ...,
526
+ body: list[stmt] = ...,
527
+ orelse: list[stmt] = ...,
528
+ type_comment: str | None = ...,
529
+ **kwargs: Unpack[_Attributes],
530
+ ) -> Self: ...
531
+
532
+ class While(stmt):
533
+ __match_args__ = ("test", "body", "orelse")
534
+ test: expr
535
+ body: list[stmt]
536
+ orelse: list[stmt]
537
+ if sys.version_info >= (3, 13):
538
+ def __init__(
539
+ self, test: expr, body: list[stmt] = ..., orelse: list[stmt] = ..., **kwargs: Unpack[_Attributes]
540
+ ) -> None: ...
541
+ else:
542
+ def __init__(self, test: expr, body: list[stmt], orelse: list[stmt], **kwargs: Unpack[_Attributes]) -> None: ...
543
+
544
+ if sys.version_info >= (3, 14):
545
+ def __replace__(
546
+ self, *, test: expr = ..., body: list[stmt] = ..., orelse: list[stmt] = ..., **kwargs: Unpack[_Attributes]
547
+ ) -> Self: ...
548
+
549
+ class If(stmt):
550
+ __match_args__ = ("test", "body", "orelse")
551
+ test: expr
552
+ body: list[stmt]
553
+ orelse: list[stmt]
554
+ if sys.version_info >= (3, 13):
555
+ def __init__(
556
+ self, test: expr, body: list[stmt] = ..., orelse: list[stmt] = ..., **kwargs: Unpack[_Attributes]
557
+ ) -> None: ...
558
+ else:
559
+ def __init__(self, test: expr, body: list[stmt], orelse: list[stmt], **kwargs: Unpack[_Attributes]) -> None: ...
560
+
561
+ if sys.version_info >= (3, 14):
562
+ def __replace__(
563
+ self, *, test: expr = ..., body: list[stmt] = ..., orelse: list[stmt] = ..., **kwargs: Unpack[_Attributes]
564
+ ) -> Self: ...
565
+
566
+ class With(stmt):
567
+ __match_args__ = ("items", "body", "type_comment")
568
+ items: list[withitem]
569
+ body: list[stmt]
570
+ type_comment: str | None
571
+ if sys.version_info >= (3, 13):
572
+ def __init__(
573
+ self,
574
+ items: list[withitem] = ...,
575
+ body: list[stmt] = ...,
576
+ type_comment: str | None = None,
577
+ **kwargs: Unpack[_Attributes],
578
+ ) -> None: ...
579
+ else:
580
+ def __init__(
581
+ self, items: list[withitem], body: list[stmt], type_comment: str | None = None, **kwargs: Unpack[_Attributes]
582
+ ) -> None: ...
583
+
584
+ if sys.version_info >= (3, 14):
585
+ def __replace__(
586
+ self,
587
+ *,
588
+ items: list[withitem] = ...,
589
+ body: list[stmt] = ...,
590
+ type_comment: str | None = ...,
591
+ **kwargs: Unpack[_Attributes],
592
+ ) -> Self: ...
593
+
594
+ class AsyncWith(stmt):
595
+ __match_args__ = ("items", "body", "type_comment")
596
+ items: list[withitem]
597
+ body: list[stmt]
598
+ type_comment: str | None
599
+ if sys.version_info >= (3, 13):
600
+ def __init__(
601
+ self,
602
+ items: list[withitem] = ...,
603
+ body: list[stmt] = ...,
604
+ type_comment: str | None = None,
605
+ **kwargs: Unpack[_Attributes],
606
+ ) -> None: ...
607
+ else:
608
+ def __init__(
609
+ self, items: list[withitem], body: list[stmt], type_comment: str | None = None, **kwargs: Unpack[_Attributes]
610
+ ) -> None: ...
611
+
612
+ if sys.version_info >= (3, 14):
613
+ def __replace__(
614
+ self,
615
+ *,
616
+ items: list[withitem] = ...,
617
+ body: list[stmt] = ...,
618
+ type_comment: str | None = ...,
619
+ **kwargs: Unpack[_Attributes],
620
+ ) -> Self: ...
621
+
622
+ class Raise(stmt):
623
+ __match_args__ = ("exc", "cause")
624
+ exc: expr | None
625
+ cause: expr | None
626
+ def __init__(self, exc: expr | None = None, cause: expr | None = None, **kwargs: Unpack[_Attributes]) -> None: ...
627
+
628
+ if sys.version_info >= (3, 14):
629
+ def __replace__(self, *, exc: expr | None = ..., cause: expr | None = ..., **kwargs: Unpack[_Attributes]) -> Self: ...
630
+
631
+ class Try(stmt):
632
+ __match_args__ = ("body", "handlers", "orelse", "finalbody")
633
+ body: list[stmt]
634
+ handlers: list[ExceptHandler]
635
+ orelse: list[stmt]
636
+ finalbody: list[stmt]
637
+ if sys.version_info >= (3, 13):
638
+ def __init__(
639
+ self,
640
+ body: list[stmt] = ...,
641
+ handlers: list[ExceptHandler] = ...,
642
+ orelse: list[stmt] = ...,
643
+ finalbody: list[stmt] = ...,
644
+ **kwargs: Unpack[_Attributes],
645
+ ) -> None: ...
646
+ else:
647
+ def __init__(
648
+ self,
649
+ body: list[stmt],
650
+ handlers: list[ExceptHandler],
651
+ orelse: list[stmt],
652
+ finalbody: list[stmt],
653
+ **kwargs: Unpack[_Attributes],
654
+ ) -> None: ...
655
+
656
+ if sys.version_info >= (3, 14):
657
+ def __replace__(
658
+ self,
659
+ *,
660
+ body: list[stmt] = ...,
661
+ handlers: list[ExceptHandler] = ...,
662
+ orelse: list[stmt] = ...,
663
+ finalbody: list[stmt] = ...,
664
+ **kwargs: Unpack[_Attributes],
665
+ ) -> Self: ...
666
+
667
+ if sys.version_info >= (3, 11):
668
+ class TryStar(stmt):
669
+ __match_args__ = ("body", "handlers", "orelse", "finalbody")
670
+ body: list[stmt]
671
+ handlers: list[ExceptHandler]
672
+ orelse: list[stmt]
673
+ finalbody: list[stmt]
674
+ if sys.version_info >= (3, 13):
675
+ def __init__(
676
+ self,
677
+ body: list[stmt] = ...,
678
+ handlers: list[ExceptHandler] = ...,
679
+ orelse: list[stmt] = ...,
680
+ finalbody: list[stmt] = ...,
681
+ **kwargs: Unpack[_Attributes],
682
+ ) -> None: ...
683
+ else:
684
+ def __init__(
685
+ self,
686
+ body: list[stmt],
687
+ handlers: list[ExceptHandler],
688
+ orelse: list[stmt],
689
+ finalbody: list[stmt],
690
+ **kwargs: Unpack[_Attributes],
691
+ ) -> None: ...
692
+
693
+ if sys.version_info >= (3, 14):
694
+ def __replace__(
695
+ self,
696
+ *,
697
+ body: list[stmt] = ...,
698
+ handlers: list[ExceptHandler] = ...,
699
+ orelse: list[stmt] = ...,
700
+ finalbody: list[stmt] = ...,
701
+ **kwargs: Unpack[_Attributes],
702
+ ) -> Self: ...
703
+
704
+ class Assert(stmt):
705
+ __match_args__ = ("test", "msg")
706
+ test: expr
707
+ msg: expr | None
708
+ def __init__(self, test: expr, msg: expr | None = None, **kwargs: Unpack[_Attributes]) -> None: ...
709
+
710
+ if sys.version_info >= (3, 14):
711
+ def __replace__(self, *, test: expr = ..., msg: expr | None = ..., **kwargs: Unpack[_Attributes]) -> Self: ...
712
+
713
+ class Import(stmt):
714
+ if sys.version_info >= (3, 15):
715
+ __match_args__ = ("names", "is_lazy")
716
+ else:
717
+ __match_args__ = ("names",)
718
+ names: list[alias]
719
+ if sys.version_info >= (3, 15):
720
+ is_lazy: bool | None
721
+ if sys.version_info >= (3, 15):
722
+ def __init__(self, names: list[alias] = ..., is_lazy: bool | None = None, **kwargs: Unpack[_Attributes]) -> None: ...
723
+
724
+ elif sys.version_info >= (3, 13):
725
+ def __init__(self, names: list[alias] = ..., **kwargs: Unpack[_Attributes]) -> None: ...
726
+ else:
727
+ def __init__(self, names: list[alias], **kwargs: Unpack[_Attributes]) -> None: ...
728
+
729
+ if sys.version_info >= (3, 15):
730
+ def __replace__(self, *, names: list[alias] = ..., is_lazy: bool | None = ..., **kwargs: Unpack[_Attributes]) -> Self: ...
731
+
732
+ elif sys.version_info >= (3, 14):
733
+ def __replace__(self, *, names: list[alias] = ..., **kwargs: Unpack[_Attributes]) -> Self: ...
734
+
735
+ class ImportFrom(stmt):
736
+ if sys.version_info >= (3, 15):
737
+ __match_args__ = ("module", "names", "level", "is_lazy")
738
+ else:
739
+ __match_args__ = ("module", "names", "level")
740
+ module: str | None
741
+ names: list[alias]
742
+ level: int
743
+ if sys.version_info >= (3, 15):
744
+ is_lazy: bool | None
745
+ if sys.version_info >= (3, 15):
746
+ @overload
747
+ def __init__(
748
+ self, module: str | None, names: list[alias], level: int, is_lazy: bool | None = None, **kwargs: Unpack[_Attributes]
749
+ ) -> None: ...
750
+ @overload
751
+ def __init__(
752
+ self,
753
+ module: str | None = None,
754
+ names: list[alias] = ...,
755
+ *,
756
+ level: int,
757
+ is_lazy: bool | None = None,
758
+ **kwargs: Unpack[_Attributes],
759
+ ) -> None: ...
760
+ elif sys.version_info >= (3, 13):
761
+ @overload
762
+ def __init__(self, module: str | None, names: list[alias], level: int, **kwargs: Unpack[_Attributes]) -> None: ...
763
+ @overload
764
+ def __init__(
765
+ self, module: str | None = None, names: list[alias] = ..., *, level: int, **kwargs: Unpack[_Attributes]
766
+ ) -> None: ...
767
+ else:
768
+ @overload
769
+ def __init__(self, module: str | None, names: list[alias], level: int, **kwargs: Unpack[_Attributes]) -> None: ...
770
+ @overload
771
+ def __init__(
772
+ self, module: str | None = None, *, names: list[alias], level: int, **kwargs: Unpack[_Attributes]
773
+ ) -> None: ...
774
+
775
+ if sys.version_info >= (3, 15):
776
+ def __replace__(
777
+ self,
778
+ *,
779
+ module: str | None = ...,
780
+ names: list[alias] = ...,
781
+ level: int = ...,
782
+ is_lazy: bool | None = ...,
783
+ **kwargs: Unpack[_Attributes],
784
+ ) -> Self: ...
785
+
786
+ elif sys.version_info >= (3, 14):
787
+ def __replace__(
788
+ self, *, module: str | None = ..., names: list[alias] = ..., level: int = ..., **kwargs: Unpack[_Attributes]
789
+ ) -> Self: ...
790
+
791
+ class Global(stmt):
792
+ __match_args__ = ("names",)
793
+ names: list[str]
794
+ if sys.version_info >= (3, 13):
795
+ def __init__(self, names: list[str] = ..., **kwargs: Unpack[_Attributes]) -> None: ...
796
+ else:
797
+ def __init__(self, names: list[str], **kwargs: Unpack[_Attributes]) -> None: ...
798
+
799
+ if sys.version_info >= (3, 14):
800
+ def __replace__(self, *, names: list[str] = ..., **kwargs: Unpack[_Attributes]) -> Self: ...
801
+
802
+ class Nonlocal(stmt):
803
+ __match_args__ = ("names",)
804
+ names: list[str]
805
+ if sys.version_info >= (3, 13):
806
+ def __init__(self, names: list[str] = ..., **kwargs: Unpack[_Attributes]) -> None: ...
807
+ else:
808
+ def __init__(self, names: list[str], **kwargs: Unpack[_Attributes]) -> None: ...
809
+
810
+ if sys.version_info >= (3, 14):
811
+ def __replace__(self, *, names: list[str] = ..., **kwargs: Unpack[_Attributes]) -> Self: ...
812
+
813
+ class Expr(stmt):
814
+ __match_args__ = ("value",)
815
+ value: expr
816
+ def __init__(self, value: expr, **kwargs: Unpack[_Attributes]) -> None: ...
817
+
818
+ if sys.version_info >= (3, 14):
819
+ def __replace__(self, *, value: expr = ..., **kwargs: Unpack[_Attributes]) -> Self: ...
820
+
821
+ class Pass(stmt): ...
822
+ class Break(stmt): ...
823
+ class Continue(stmt): ...
824
+
825
+ class expr(AST):
826
+ lineno: int
827
+ col_offset: int
828
+ end_lineno: int | None
829
+ end_col_offset: int | None
830
+ def __init__(self, **kwargs: Unpack[_Attributes]) -> None: ...
831
+
832
+ if sys.version_info >= (3, 14):
833
+ def __replace__(self, **kwargs: Unpack[_Attributes]) -> Self: ...
834
+
835
+ class BoolOp(expr):
836
+ __match_args__ = ("op", "values")
837
+ op: boolop
838
+ values: list[expr]
839
+ if sys.version_info >= (3, 13):
840
+ def __init__(self, op: boolop, values: list[expr] = ..., **kwargs: Unpack[_Attributes]) -> None: ...
841
+ else:
842
+ def __init__(self, op: boolop, values: list[expr], **kwargs: Unpack[_Attributes]) -> None: ...
843
+
844
+ if sys.version_info >= (3, 14):
845
+ def __replace__(self, *, op: boolop = ..., values: list[expr] = ..., **kwargs: Unpack[_Attributes]) -> Self: ...
846
+
847
+ class NamedExpr(expr):
848
+ __match_args__ = ("target", "value")
849
+ target: Name
850
+ value: expr
851
+ def __init__(self, target: Name, value: expr, **kwargs: Unpack[_Attributes]) -> None: ...
852
+
853
+ if sys.version_info >= (3, 14):
854
+ def __replace__(self, *, target: Name = ..., value: expr = ..., **kwargs: Unpack[_Attributes]) -> Self: ...
855
+
856
+ class BinOp(expr):
857
+ __match_args__ = ("left", "op", "right")
858
+ left: expr
859
+ op: operator
860
+ right: expr
861
+ def __init__(self, left: expr, op: operator, right: expr, **kwargs: Unpack[_Attributes]) -> None: ...
862
+
863
+ if sys.version_info >= (3, 14):
864
+ def __replace__(
865
+ self, *, left: expr = ..., op: operator = ..., right: expr = ..., **kwargs: Unpack[_Attributes]
866
+ ) -> Self: ...
867
+
868
+ class UnaryOp(expr):
869
+ __match_args__ = ("op", "operand")
870
+ op: unaryop
871
+ operand: expr
872
+ def __init__(self, op: unaryop, operand: expr, **kwargs: Unpack[_Attributes]) -> None: ...
873
+
874
+ if sys.version_info >= (3, 14):
875
+ def __replace__(self, *, op: unaryop = ..., operand: expr = ..., **kwargs: Unpack[_Attributes]) -> Self: ...
876
+
877
+ class Lambda(expr):
878
+ __match_args__ = ("args", "body")
879
+ args: arguments
880
+ body: expr
881
+ def __init__(self, args: arguments, body: expr, **kwargs: Unpack[_Attributes]) -> None: ...
882
+
883
+ if sys.version_info >= (3, 14):
884
+ def __replace__(self, *, args: arguments = ..., body: expr = ..., **kwargs: Unpack[_Attributes]) -> Self: ...
885
+
886
+ class IfExp(expr):
887
+ __match_args__ = ("test", "body", "orelse")
888
+ test: expr
889
+ body: expr
890
+ orelse: expr
891
+ def __init__(self, test: expr, body: expr, orelse: expr, **kwargs: Unpack[_Attributes]) -> None: ...
892
+
893
+ if sys.version_info >= (3, 14):
894
+ def __replace__(
895
+ self, *, test: expr = ..., body: expr = ..., orelse: expr = ..., **kwargs: Unpack[_Attributes]
896
+ ) -> Self: ...
897
+
898
+ class Dict(expr):
899
+ __match_args__ = ("keys", "values")
900
+ keys: list[expr | None]
901
+ values: list[expr]
902
+ if sys.version_info >= (3, 13):
903
+ def __init__(self, keys: list[expr | None] = ..., values: list[expr] = ..., **kwargs: Unpack[_Attributes]) -> None: ...
904
+ else:
905
+ def __init__(self, keys: list[expr | None], values: list[expr], **kwargs: Unpack[_Attributes]) -> None: ...
906
+
907
+ if sys.version_info >= (3, 14):
908
+ def __replace__(
909
+ self, *, keys: list[expr | None] = ..., values: list[expr] = ..., **kwargs: Unpack[_Attributes]
910
+ ) -> Self: ...
911
+
912
+ class Set(expr):
913
+ __match_args__ = ("elts",)
914
+ elts: list[expr]
915
+ if sys.version_info >= (3, 13):
916
+ def __init__(self, elts: list[expr] = ..., **kwargs: Unpack[_Attributes]) -> None: ...
917
+ else:
918
+ def __init__(self, elts: list[expr], **kwargs: Unpack[_Attributes]) -> None: ...
919
+
920
+ if sys.version_info >= (3, 14):
921
+ def __replace__(self, *, elts: list[expr] = ..., **kwargs: Unpack[_Attributes]) -> Self: ...
922
+
923
+ class ListComp(expr):
924
+ __match_args__ = ("elt", "generators")
925
+ elt: expr
926
+ generators: list[comprehension]
927
+ if sys.version_info >= (3, 13):
928
+ def __init__(self, elt: expr, generators: list[comprehension] = ..., **kwargs: Unpack[_Attributes]) -> None: ...
929
+ else:
930
+ def __init__(self, elt: expr, generators: list[comprehension], **kwargs: Unpack[_Attributes]) -> None: ...
931
+
932
+ if sys.version_info >= (3, 14):
933
+ def __replace__(
934
+ self, *, elt: expr = ..., generators: list[comprehension] = ..., **kwargs: Unpack[_Attributes]
935
+ ) -> Self: ...
936
+
937
+ class SetComp(expr):
938
+ __match_args__ = ("elt", "generators")
939
+ elt: expr
940
+ generators: list[comprehension]
941
+ if sys.version_info >= (3, 13):
942
+ def __init__(self, elt: expr, generators: list[comprehension] = ..., **kwargs: Unpack[_Attributes]) -> None: ...
943
+ else:
944
+ def __init__(self, elt: expr, generators: list[comprehension], **kwargs: Unpack[_Attributes]) -> None: ...
945
+
946
+ if sys.version_info >= (3, 14):
947
+ def __replace__(
948
+ self, *, elt: expr = ..., generators: list[comprehension] = ..., **kwargs: Unpack[_Attributes]
949
+ ) -> Self: ...
950
+
951
+ class DictComp(expr):
952
+ __match_args__ = ("key", "value", "generators")
953
+ key: expr
954
+ if sys.version_info >= (3, 15):
955
+ value: expr | None
956
+ else:
957
+ value: expr
958
+ generators: list[comprehension]
959
+ if sys.version_info >= (3, 15):
960
+ def __init__(
961
+ self, key: expr, value: expr | None = None, generators: list[comprehension] = ..., **kwargs: Unpack[_Attributes]
962
+ ) -> None: ...
963
+ elif sys.version_info >= (3, 13):
964
+ def __init__(
965
+ self, key: expr, value: expr, generators: list[comprehension] = ..., **kwargs: Unpack[_Attributes]
966
+ ) -> None: ...
967
+ else:
968
+ def __init__(self, key: expr, value: expr, generators: list[comprehension], **kwargs: Unpack[_Attributes]) -> None: ...
969
+
970
+ if sys.version_info >= (3, 15):
971
+ def __replace__(
972
+ self,
973
+ *,
974
+ key: expr = ...,
975
+ value: expr | None = ...,
976
+ generators: list[comprehension] = ...,
977
+ **kwargs: Unpack[_Attributes],
978
+ ) -> Self: ...
979
+ elif sys.version_info >= (3, 14):
980
+ def __replace__(
981
+ self, *, key: expr = ..., value: expr = ..., generators: list[comprehension] = ..., **kwargs: Unpack[_Attributes]
982
+ ) -> Self: ...
983
+
984
+ class GeneratorExp(expr):
985
+ __match_args__ = ("elt", "generators")
986
+ elt: expr
987
+ generators: list[comprehension]
988
+ if sys.version_info >= (3, 13):
989
+ def __init__(self, elt: expr, generators: list[comprehension] = ..., **kwargs: Unpack[_Attributes]) -> None: ...
990
+ else:
991
+ def __init__(self, elt: expr, generators: list[comprehension], **kwargs: Unpack[_Attributes]) -> None: ...
992
+
993
+ if sys.version_info >= (3, 14):
994
+ def __replace__(
995
+ self, *, elt: expr = ..., generators: list[comprehension] = ..., **kwargs: Unpack[_Attributes]
996
+ ) -> Self: ...
997
+
998
+ class Await(expr):
999
+ __match_args__ = ("value",)
1000
+ value: expr
1001
+ def __init__(self, value: expr, **kwargs: Unpack[_Attributes]) -> None: ...
1002
+
1003
+ if sys.version_info >= (3, 14):
1004
+ def __replace__(self, *, value: expr = ..., **kwargs: Unpack[_Attributes]) -> Self: ...
1005
+
1006
+ class Yield(expr):
1007
+ __match_args__ = ("value",)
1008
+ value: expr | None
1009
+ def __init__(self, value: expr | None = None, **kwargs: Unpack[_Attributes]) -> None: ...
1010
+
1011
+ if sys.version_info >= (3, 14):
1012
+ def __replace__(self, *, value: expr | None = ..., **kwargs: Unpack[_Attributes]) -> Self: ...
1013
+
1014
+ class YieldFrom(expr):
1015
+ __match_args__ = ("value",)
1016
+ value: expr
1017
+ def __init__(self, value: expr, **kwargs: Unpack[_Attributes]) -> None: ...
1018
+
1019
+ if sys.version_info >= (3, 14):
1020
+ def __replace__(self, *, value: expr = ..., **kwargs: Unpack[_Attributes]) -> Self: ...
1021
+
1022
+ class Compare(expr):
1023
+ __match_args__ = ("left", "ops", "comparators")
1024
+ left: expr
1025
+ ops: list[cmpop]
1026
+ comparators: list[expr]
1027
+ if sys.version_info >= (3, 13):
1028
+ def __init__(
1029
+ self, left: expr, ops: list[cmpop] = ..., comparators: list[expr] = ..., **kwargs: Unpack[_Attributes]
1030
+ ) -> None: ...
1031
+ else:
1032
+ def __init__(self, left: expr, ops: list[cmpop], comparators: list[expr], **kwargs: Unpack[_Attributes]) -> None: ...
1033
+
1034
+ if sys.version_info >= (3, 14):
1035
+ def __replace__(
1036
+ self, *, left: expr = ..., ops: list[cmpop] = ..., comparators: list[expr] = ..., **kwargs: Unpack[_Attributes]
1037
+ ) -> Self: ...
1038
+
1039
+ class Call(expr):
1040
+ __match_args__ = ("func", "args", "keywords")
1041
+ func: expr
1042
+ args: list[expr]
1043
+ keywords: list[keyword]
1044
+ if sys.version_info >= (3, 13):
1045
+ def __init__(
1046
+ self, func: expr, args: list[expr] = ..., keywords: list[keyword] = ..., **kwargs: Unpack[_Attributes]
1047
+ ) -> None: ...
1048
+ else:
1049
+ def __init__(self, func: expr, args: list[expr], keywords: list[keyword], **kwargs: Unpack[_Attributes]) -> None: ...
1050
+
1051
+ if sys.version_info >= (3, 14):
1052
+ def __replace__(
1053
+ self, *, func: expr = ..., args: list[expr] = ..., keywords: list[keyword] = ..., **kwargs: Unpack[_Attributes]
1054
+ ) -> Self: ...
1055
+
1056
+ class FormattedValue(expr):
1057
+ __match_args__ = ("value", "conversion", "format_spec")
1058
+ value: expr
1059
+ conversion: int
1060
+ format_spec: expr | None
1061
+ def __init__(self, value: expr, conversion: int, format_spec: expr | None = None, **kwargs: Unpack[_Attributes]) -> None: ...
1062
+
1063
+ if sys.version_info >= (3, 14):
1064
+ def __replace__(
1065
+ self, *, value: expr = ..., conversion: int = ..., format_spec: expr | None = ..., **kwargs: Unpack[_Attributes]
1066
+ ) -> Self: ...
1067
+
1068
+ class JoinedStr(expr):
1069
+ __match_args__ = ("values",)
1070
+ values: list[expr]
1071
+ if sys.version_info >= (3, 13):
1072
+ def __init__(self, values: list[expr] = ..., **kwargs: Unpack[_Attributes]) -> None: ...
1073
+ else:
1074
+ def __init__(self, values: list[expr], **kwargs: Unpack[_Attributes]) -> None: ...
1075
+
1076
+ if sys.version_info >= (3, 14):
1077
+ def __replace__(self, *, values: list[expr] = ..., **kwargs: Unpack[_Attributes]) -> Self: ...
1078
+
1079
+ if sys.version_info >= (3, 14):
1080
+ class TemplateStr(expr):
1081
+ __match_args__ = ("values",)
1082
+ values: list[expr]
1083
+ def __init__(self, values: list[expr] = ..., **kwargs: Unpack[_Attributes]) -> None: ...
1084
+ def __replace__(self, *, values: list[expr] = ..., **kwargs: Unpack[_Attributes]) -> Self: ...
1085
+
1086
+ class Interpolation(expr):
1087
+ __match_args__ = ("value", "str", "conversion", "format_spec")
1088
+ value: expr
1089
+ str: builtins.str
1090
+ conversion: int
1091
+ format_spec: expr | None = None
1092
+ def __init__(
1093
+ self,
1094
+ value: expr = ...,
1095
+ str: builtins.str = ...,
1096
+ conversion: int = ...,
1097
+ format_spec: expr | None = ...,
1098
+ **kwargs: Unpack[_Attributes],
1099
+ ) -> None: ...
1100
+ def __replace__(
1101
+ self,
1102
+ *,
1103
+ value: expr = ...,
1104
+ str: builtins.str = ...,
1105
+ conversion: int = ...,
1106
+ format_spec: expr | None = ...,
1107
+ **kwargs: Unpack[_Attributes],
1108
+ ) -> Self: ...
1109
+
1110
+ _ConstantValue: typing_extensions.TypeAlias = str | bytes | bool | int | float | complex | None | EllipsisType
1111
+
1112
+ class Constant(expr):
1113
+ __match_args__ = ("value", "kind")
1114
+ value: _ConstantValue
1115
+ kind: str | None
1116
+ if sys.version_info < (3, 14):
1117
+ # Aliases for value, for backwards compatibility
1118
+ @property
1119
+ @deprecated("Removed in Python 3.14. Use `value` instead.")
1120
+ def n(self) -> _ConstantValue: ...
1121
+ @n.setter
1122
+ @deprecated("Removed in Python 3.14. Use `value` instead.")
1123
+ def n(self, value: _ConstantValue) -> None: ...
1124
+
1125
+ @property
1126
+ @deprecated("Removed in Python 3.14. Use `value` instead.")
1127
+ def s(self) -> _ConstantValue: ...
1128
+ @s.setter
1129
+ @deprecated("Removed in Python 3.14. Use `value` instead.")
1130
+ def s(self, value: _ConstantValue) -> None: ...
1131
+
1132
+ def __init__(self, value: _ConstantValue, kind: str | None = None, **kwargs: Unpack[_Attributes]) -> None: ...
1133
+
1134
+ if sys.version_info >= (3, 14):
1135
+ def __replace__(self, *, value: _ConstantValue = ..., kind: str | None = ..., **kwargs: Unpack[_Attributes]) -> Self: ...
1136
+
1137
+ class Attribute(expr):
1138
+ __match_args__ = ("value", "attr", "ctx")
1139
+ value: expr
1140
+ attr: str
1141
+ ctx: expr_context # Not present in Python < 3.13 if not passed to `__init__`
1142
+ def __init__(self, value: expr, attr: str, ctx: expr_context = ..., **kwargs: Unpack[_Attributes]) -> None: ...
1143
+
1144
+ if sys.version_info >= (3, 14):
1145
+ def __replace__(
1146
+ self, *, value: expr = ..., attr: str = ..., ctx: expr_context = ..., **kwargs: Unpack[_Attributes]
1147
+ ) -> Self: ...
1148
+
1149
+ class Subscript(expr):
1150
+ __match_args__ = ("value", "slice", "ctx")
1151
+ value: expr
1152
+ slice: expr
1153
+ ctx: expr_context # Not present in Python < 3.13 if not passed to `__init__`
1154
+ def __init__(self, value: expr, slice: expr, ctx: expr_context = ..., **kwargs: Unpack[_Attributes]) -> None: ...
1155
+
1156
+ if sys.version_info >= (3, 14):
1157
+ def __replace__(
1158
+ self, *, value: expr = ..., slice: expr = ..., ctx: expr_context = ..., **kwargs: Unpack[_Attributes]
1159
+ ) -> Self: ...
1160
+
1161
+ class Starred(expr):
1162
+ __match_args__ = ("value", "ctx")
1163
+ value: expr
1164
+ ctx: expr_context # Not present in Python < 3.13 if not passed to `__init__`
1165
+ def __init__(self, value: expr, ctx: expr_context = ..., **kwargs: Unpack[_Attributes]) -> None: ...
1166
+
1167
+ if sys.version_info >= (3, 14):
1168
+ def __replace__(self, *, value: expr = ..., ctx: expr_context = ..., **kwargs: Unpack[_Attributes]) -> Self: ...
1169
+
1170
+ class Name(expr):
1171
+ __match_args__ = ("id", "ctx")
1172
+ id: str
1173
+ ctx: expr_context # Not present in Python < 3.13 if not passed to `__init__`
1174
+ def __init__(self, id: str, ctx: expr_context = ..., **kwargs: Unpack[_Attributes]) -> None: ...
1175
+
1176
+ if sys.version_info >= (3, 14):
1177
+ def __replace__(self, *, id: str = ..., ctx: expr_context = ..., **kwargs: Unpack[_Attributes]) -> Self: ...
1178
+
1179
+ class List(expr):
1180
+ __match_args__ = ("elts", "ctx")
1181
+ elts: list[expr]
1182
+ ctx: expr_context # Not present in Python < 3.13 if not passed to `__init__`
1183
+ if sys.version_info >= (3, 13):
1184
+ def __init__(self, elts: list[expr] = ..., ctx: expr_context = ..., **kwargs: Unpack[_Attributes]) -> None: ...
1185
+ else:
1186
+ def __init__(self, elts: list[expr], ctx: expr_context = ..., **kwargs: Unpack[_Attributes]) -> None: ...
1187
+
1188
+ if sys.version_info >= (3, 14):
1189
+ def __replace__(self, *, elts: list[expr] = ..., ctx: expr_context = ..., **kwargs: Unpack[_Attributes]) -> Self: ...
1190
+
1191
+ class Tuple(expr):
1192
+ __match_args__ = ("elts", "ctx")
1193
+ elts: list[expr]
1194
+ ctx: expr_context # Not present in Python < 3.13 if not passed to `__init__`
1195
+ dims: list[expr]
1196
+ if sys.version_info >= (3, 13):
1197
+ def __init__(self, elts: list[expr] = ..., ctx: expr_context = ..., **kwargs: Unpack[_Attributes]) -> None: ...
1198
+ else:
1199
+ def __init__(self, elts: list[expr], ctx: expr_context = ..., **kwargs: Unpack[_Attributes]) -> None: ...
1200
+
1201
+ if sys.version_info >= (3, 14):
1202
+ def __replace__(self, *, elts: list[expr] = ..., ctx: expr_context = ..., **kwargs: Unpack[_Attributes]) -> Self: ...
1203
+
1204
+ @deprecated("Deprecated since Python 3.9.")
1205
+ class slice(AST): ...
1206
+
1207
+ class Slice(expr):
1208
+ __match_args__ = ("lower", "upper", "step")
1209
+ lower: expr | None
1210
+ upper: expr | None
1211
+ step: expr | None
1212
+ def __init__(
1213
+ self, lower: expr | None = None, upper: expr | None = None, step: expr | None = None, **kwargs: Unpack[_Attributes]
1214
+ ) -> None: ...
1215
+
1216
+ if sys.version_info >= (3, 14):
1217
+ def __replace__(
1218
+ self, *, lower: expr | None = ..., upper: expr | None = ..., step: expr | None = ..., **kwargs: Unpack[_Attributes]
1219
+ ) -> Self: ...
1220
+
1221
+ @deprecated("Deprecated since Python 3.9. Use `ast.Tuple` instead.")
1222
+ class ExtSlice(slice):
1223
+ def __new__(cls, dims: Iterable[slice] = (), **kwargs: Unpack[_Attributes]) -> Tuple: ... # type: ignore[misc]
1224
+
1225
+ @deprecated("Deprecated since Python 3.9. Use the index value directly instead.")
1226
+ class Index(slice):
1227
+ def __new__(cls, value: expr, **kwargs: Unpack[_Attributes]) -> expr: ... # type: ignore[misc]
1228
+
1229
+ class expr_context(AST): ...
1230
+
1231
+ @deprecated("Deprecated since Python 3.9. Unused in Python 3.")
1232
+ class AugLoad(expr_context): ...
1233
+
1234
+ @deprecated("Deprecated since Python 3.9. Unused in Python 3.")
1235
+ class AugStore(expr_context): ...
1236
+
1237
+ @deprecated("Deprecated since Python 3.9. Unused in Python 3.")
1238
+ class Param(expr_context): ...
1239
+
1240
+ @deprecated("Deprecated since Python 3.9. Unused in Python 3.")
1241
+ class Suite(mod): ...
1242
+
1243
+ class Load(expr_context): ...
1244
+ class Store(expr_context): ...
1245
+ class Del(expr_context): ...
1246
+ class boolop(AST): ...
1247
+ class And(boolop): ...
1248
+ class Or(boolop): ...
1249
+ class operator(AST): ...
1250
+ class Add(operator): ...
1251
+ class Sub(operator): ...
1252
+ class Mult(operator): ...
1253
+ class MatMult(operator): ...
1254
+ class Div(operator): ...
1255
+ class Mod(operator): ...
1256
+ class Pow(operator): ...
1257
+ class LShift(operator): ...
1258
+ class RShift(operator): ...
1259
+ class BitOr(operator): ...
1260
+ class BitXor(operator): ...
1261
+ class BitAnd(operator): ...
1262
+ class FloorDiv(operator): ...
1263
+ class unaryop(AST): ...
1264
+ class Invert(unaryop): ...
1265
+ class Not(unaryop): ...
1266
+ class UAdd(unaryop): ...
1267
+ class USub(unaryop): ...
1268
+ class cmpop(AST): ...
1269
+ class Eq(cmpop): ...
1270
+ class NotEq(cmpop): ...
1271
+ class Lt(cmpop): ...
1272
+ class LtE(cmpop): ...
1273
+ class Gt(cmpop): ...
1274
+ class GtE(cmpop): ...
1275
+ class Is(cmpop): ...
1276
+ class IsNot(cmpop): ...
1277
+ class In(cmpop): ...
1278
+ class NotIn(cmpop): ...
1279
+
1280
+ class comprehension(AST):
1281
+ __match_args__ = ("target", "iter", "ifs", "is_async")
1282
+ target: expr
1283
+ iter: expr
1284
+ ifs: list[expr]
1285
+ is_async: int
1286
+ if sys.version_info >= (3, 13):
1287
+ @overload
1288
+ def __init__(self, target: expr, iter: expr, ifs: list[expr], is_async: int) -> None: ...
1289
+ @overload
1290
+ def __init__(self, target: expr, iter: expr, ifs: list[expr] = ..., *, is_async: int) -> None: ...
1291
+ else:
1292
+ def __init__(self, target: expr, iter: expr, ifs: list[expr], is_async: int) -> None: ...
1293
+
1294
+ if sys.version_info >= (3, 14):
1295
+ def __replace__(self, *, target: expr = ..., iter: expr = ..., ifs: list[expr] = ..., is_async: int = ...) -> Self: ...
1296
+
1297
+ class excepthandler(AST):
1298
+ lineno: int
1299
+ col_offset: int
1300
+ end_lineno: int | None
1301
+ end_col_offset: int | None
1302
+ def __init__(self, **kwargs: Unpack[_Attributes]) -> None: ...
1303
+
1304
+ if sys.version_info >= (3, 14):
1305
+ def __replace__(
1306
+ self, *, lineno: int = ..., col_offset: int = ..., end_lineno: int | None = ..., end_col_offset: int | None = ...
1307
+ ) -> Self: ...
1308
+
1309
+ class ExceptHandler(excepthandler):
1310
+ __match_args__ = ("type", "name", "body")
1311
+ type: expr | None
1312
+ name: str | None
1313
+ body: list[stmt]
1314
+ if sys.version_info >= (3, 13):
1315
+ def __init__(
1316
+ self, type: expr | None = None, name: str | None = None, body: list[stmt] = ..., **kwargs: Unpack[_Attributes]
1317
+ ) -> None: ...
1318
+ else:
1319
+ @overload
1320
+ def __init__(self, type: expr | None, name: str | None, body: list[stmt], **kwargs: Unpack[_Attributes]) -> None: ...
1321
+ @overload
1322
+ def __init__(
1323
+ self, type: expr | None = None, name: str | None = None, *, body: list[stmt], **kwargs: Unpack[_Attributes]
1324
+ ) -> None: ...
1325
+
1326
+ if sys.version_info >= (3, 14):
1327
+ def __replace__(
1328
+ self, *, type: expr | None = ..., name: str | None = ..., body: list[stmt] = ..., **kwargs: Unpack[_Attributes]
1329
+ ) -> Self: ...
1330
+
1331
+ class arguments(AST):
1332
+ __match_args__ = ("posonlyargs", "args", "vararg", "kwonlyargs", "kw_defaults", "kwarg", "defaults")
1333
+ posonlyargs: list[arg]
1334
+ args: list[arg]
1335
+ vararg: arg | None
1336
+ kwonlyargs: list[arg]
1337
+ kw_defaults: list[expr | None]
1338
+ kwarg: arg | None
1339
+ defaults: list[expr]
1340
+ if sys.version_info >= (3, 13):
1341
+ def __init__(
1342
+ self,
1343
+ posonlyargs: list[arg] = ...,
1344
+ args: list[arg] = ...,
1345
+ vararg: arg | None = None,
1346
+ kwonlyargs: list[arg] = ...,
1347
+ kw_defaults: list[expr | None] = ...,
1348
+ kwarg: arg | None = None,
1349
+ defaults: list[expr] = ...,
1350
+ ) -> None: ...
1351
+ else:
1352
+ @overload
1353
+ def __init__(
1354
+ self,
1355
+ posonlyargs: list[arg],
1356
+ args: list[arg],
1357
+ vararg: arg | None,
1358
+ kwonlyargs: list[arg],
1359
+ kw_defaults: list[expr | None],
1360
+ kwarg: arg | None,
1361
+ defaults: list[expr],
1362
+ ) -> None: ...
1363
+ @overload
1364
+ def __init__(
1365
+ self,
1366
+ posonlyargs: list[arg],
1367
+ args: list[arg],
1368
+ vararg: arg | None,
1369
+ kwonlyargs: list[arg],
1370
+ kw_defaults: list[expr | None],
1371
+ kwarg: arg | None = None,
1372
+ *,
1373
+ defaults: list[expr],
1374
+ ) -> None: ...
1375
+ @overload
1376
+ def __init__(
1377
+ self,
1378
+ posonlyargs: list[arg],
1379
+ args: list[arg],
1380
+ vararg: arg | None = None,
1381
+ *,
1382
+ kwonlyargs: list[arg],
1383
+ kw_defaults: list[expr | None],
1384
+ kwarg: arg | None = None,
1385
+ defaults: list[expr],
1386
+ ) -> None: ...
1387
+
1388
+ if sys.version_info >= (3, 14):
1389
+ def __replace__(
1390
+ self,
1391
+ *,
1392
+ posonlyargs: list[arg] = ...,
1393
+ args: list[arg] = ...,
1394
+ vararg: arg | None = ...,
1395
+ kwonlyargs: list[arg] = ...,
1396
+ kw_defaults: list[expr | None] = ...,
1397
+ kwarg: arg | None = ...,
1398
+ defaults: list[expr] = ...,
1399
+ ) -> Self: ...
1400
+
1401
+ class arg(AST):
1402
+ __match_args__ = ("arg", "annotation", "type_comment")
1403
+ lineno: int
1404
+ col_offset: int
1405
+ end_lineno: int | None
1406
+ end_col_offset: int | None
1407
+ arg: str
1408
+ annotation: expr | None
1409
+ type_comment: str | None
1410
+ def __init__(
1411
+ self, arg: str, annotation: expr | None = None, type_comment: str | None = None, **kwargs: Unpack[_Attributes]
1412
+ ) -> None: ...
1413
+
1414
+ if sys.version_info >= (3, 14):
1415
+ def __replace__(
1416
+ self, *, arg: str = ..., annotation: expr | None = ..., type_comment: str | None = ..., **kwargs: Unpack[_Attributes]
1417
+ ) -> Self: ...
1418
+
1419
+ class keyword(AST):
1420
+ __match_args__ = ("arg", "value")
1421
+ lineno: int
1422
+ col_offset: int
1423
+ end_lineno: int | None
1424
+ end_col_offset: int | None
1425
+ arg: str | None
1426
+ value: expr
1427
+
1428
+ @overload
1429
+ def __init__(self, arg: str | None, value: expr, **kwargs: Unpack[_Attributes]) -> None: ...
1430
+ @overload
1431
+ def __init__(self, arg: str | None = None, *, value: expr, **kwargs: Unpack[_Attributes]) -> None: ...
1432
+
1433
+ if sys.version_info >= (3, 14):
1434
+ def __replace__(self, *, arg: str | None = ..., value: expr = ..., **kwargs: Unpack[_Attributes]) -> Self: ...
1435
+
1436
+ class alias(AST):
1437
+ __match_args__ = ("name", "asname")
1438
+ name: str
1439
+ asname: str | None
1440
+ lineno: int
1441
+ col_offset: int
1442
+ end_lineno: int | None
1443
+ end_col_offset: int | None
1444
+ def __init__(self, name: str, asname: str | None = None, **kwargs: Unpack[_Attributes]) -> None: ...
1445
+
1446
+ if sys.version_info >= (3, 14):
1447
+ def __replace__(self, *, name: str = ..., asname: str | None = ..., **kwargs: Unpack[_Attributes]) -> Self: ...
1448
+
1449
+ class withitem(AST):
1450
+ __match_args__ = ("context_expr", "optional_vars")
1451
+ context_expr: expr
1452
+ optional_vars: expr | None
1453
+ def __init__(self, context_expr: expr, optional_vars: expr | None = None) -> None: ...
1454
+
1455
+ if sys.version_info >= (3, 14):
1456
+ def __replace__(self, *, context_expr: expr = ..., optional_vars: expr | None = ...) -> Self: ...
1457
+
1458
+ class pattern(AST):
1459
+ lineno: int
1460
+ col_offset: int
1461
+ end_lineno: int
1462
+ end_col_offset: int
1463
+ def __init__(self, **kwargs: Unpack[_Attributes[int]]) -> None: ...
1464
+
1465
+ if sys.version_info >= (3, 14):
1466
+ def __replace__(
1467
+ self, *, lineno: int = ..., col_offset: int = ..., end_lineno: int = ..., end_col_offset: int = ...
1468
+ ) -> Self: ...
1469
+
1470
+ class match_case(AST):
1471
+ __match_args__ = ("pattern", "guard", "body")
1472
+ pattern: ast.pattern
1473
+ guard: expr | None
1474
+ body: list[stmt]
1475
+ if sys.version_info >= (3, 13):
1476
+ def __init__(self, pattern: ast.pattern, guard: expr | None = None, body: list[stmt] = ...) -> None: ...
1477
+ else:
1478
+ @overload
1479
+ def __init__(self, pattern: ast.pattern, guard: expr | None, body: list[stmt]) -> None: ...
1480
+ @overload
1481
+ def __init__(self, pattern: ast.pattern, guard: expr | None = None, *, body: list[stmt]) -> None: ...
1482
+
1483
+ if sys.version_info >= (3, 14):
1484
+ def __replace__(self, *, pattern: ast.pattern = ..., guard: expr | None = ..., body: list[stmt] = ...) -> Self: ...
1485
+
1486
+ class Match(stmt):
1487
+ __match_args__ = ("subject", "cases")
1488
+ subject: expr
1489
+ cases: list[match_case]
1490
+ if sys.version_info >= (3, 13):
1491
+ def __init__(self, subject: expr, cases: list[match_case] = ..., **kwargs: Unpack[_Attributes]) -> None: ...
1492
+ else:
1493
+ def __init__(self, subject: expr, cases: list[match_case], **kwargs: Unpack[_Attributes]) -> None: ...
1494
+
1495
+ if sys.version_info >= (3, 14):
1496
+ def __replace__(self, *, subject: expr = ..., cases: list[match_case] = ..., **kwargs: Unpack[_Attributes]) -> Self: ...
1497
+
1498
+ class MatchValue(pattern):
1499
+ __match_args__ = ("value",)
1500
+ value: expr
1501
+ def __init__(self, value: expr, **kwargs: Unpack[_Attributes[int]]) -> None: ...
1502
+
1503
+ if sys.version_info >= (3, 14):
1504
+ def __replace__(self, *, value: expr = ..., **kwargs: Unpack[_Attributes[int]]) -> Self: ...
1505
+
1506
+ class MatchSingleton(pattern):
1507
+ __match_args__ = ("value",)
1508
+ value: bool | None
1509
+ def __init__(self, value: bool | None, **kwargs: Unpack[_Attributes[int]]) -> None: ...
1510
+
1511
+ if sys.version_info >= (3, 14):
1512
+ def __replace__(self, *, value: bool | None = ..., **kwargs: Unpack[_Attributes[int]]) -> Self: ...
1513
+
1514
+ class MatchSequence(pattern):
1515
+ __match_args__ = ("patterns",)
1516
+ patterns: list[pattern]
1517
+ if sys.version_info >= (3, 13):
1518
+ def __init__(self, patterns: list[pattern] = ..., **kwargs: Unpack[_Attributes[int]]) -> None: ...
1519
+ else:
1520
+ def __init__(self, patterns: list[pattern], **kwargs: Unpack[_Attributes[int]]) -> None: ...
1521
+
1522
+ if sys.version_info >= (3, 14):
1523
+ def __replace__(self, *, patterns: list[pattern] = ..., **kwargs: Unpack[_Attributes[int]]) -> Self: ...
1524
+
1525
+ class MatchMapping(pattern):
1526
+ __match_args__ = ("keys", "patterns", "rest")
1527
+ keys: list[expr]
1528
+ patterns: list[pattern]
1529
+ rest: str | None
1530
+ if sys.version_info >= (3, 13):
1531
+ def __init__(
1532
+ self,
1533
+ keys: list[expr] = ...,
1534
+ patterns: list[pattern] = ...,
1535
+ rest: str | None = None,
1536
+ **kwargs: Unpack[_Attributes[int]],
1537
+ ) -> None: ...
1538
+ else:
1539
+ def __init__(
1540
+ self, keys: list[expr], patterns: list[pattern], rest: str | None = None, **kwargs: Unpack[_Attributes[int]]
1541
+ ) -> None: ...
1542
+
1543
+ if sys.version_info >= (3, 14):
1544
+ def __replace__(
1545
+ self,
1546
+ *,
1547
+ keys: list[expr] = ...,
1548
+ patterns: list[pattern] = ...,
1549
+ rest: str | None = ...,
1550
+ **kwargs: Unpack[_Attributes[int]],
1551
+ ) -> Self: ...
1552
+
1553
+ class MatchClass(pattern):
1554
+ __match_args__ = ("cls", "patterns", "kwd_attrs", "kwd_patterns")
1555
+ cls: expr
1556
+ patterns: list[pattern]
1557
+ kwd_attrs: list[str]
1558
+ kwd_patterns: list[pattern]
1559
+ if sys.version_info >= (3, 13):
1560
+ def __init__(
1561
+ self,
1562
+ cls: expr,
1563
+ patterns: list[pattern] = ...,
1564
+ kwd_attrs: list[str] = ...,
1565
+ kwd_patterns: list[pattern] = ...,
1566
+ **kwargs: Unpack[_Attributes[int]],
1567
+ ) -> None: ...
1568
+ else:
1569
+ def __init__(
1570
+ self,
1571
+ cls: expr,
1572
+ patterns: list[pattern],
1573
+ kwd_attrs: list[str],
1574
+ kwd_patterns: list[pattern],
1575
+ **kwargs: Unpack[_Attributes[int]],
1576
+ ) -> None: ...
1577
+
1578
+ if sys.version_info >= (3, 14):
1579
+ def __replace__(
1580
+ self,
1581
+ *,
1582
+ cls: expr = ...,
1583
+ patterns: list[pattern] = ...,
1584
+ kwd_attrs: list[str] = ...,
1585
+ kwd_patterns: list[pattern] = ...,
1586
+ **kwargs: Unpack[_Attributes[int]],
1587
+ ) -> Self: ...
1588
+
1589
+ class MatchStar(pattern):
1590
+ __match_args__ = ("name",)
1591
+ name: str | None
1592
+ def __init__(self, name: str | None = None, **kwargs: Unpack[_Attributes[int]]) -> None: ...
1593
+
1594
+ if sys.version_info >= (3, 14):
1595
+ def __replace__(self, *, name: str | None = ..., **kwargs: Unpack[_Attributes[int]]) -> Self: ...
1596
+
1597
+ class MatchAs(pattern):
1598
+ __match_args__ = ("pattern", "name")
1599
+ pattern: ast.pattern | None
1600
+ name: str | None
1601
+ def __init__(
1602
+ self, pattern: ast.pattern | None = None, name: str | None = None, **kwargs: Unpack[_Attributes[int]]
1603
+ ) -> None: ...
1604
+
1605
+ if sys.version_info >= (3, 14):
1606
+ def __replace__(
1607
+ self, *, pattern: ast.pattern | None = ..., name: str | None = ..., **kwargs: Unpack[_Attributes[int]]
1608
+ ) -> Self: ...
1609
+
1610
+ class MatchOr(pattern):
1611
+ __match_args__ = ("patterns",)
1612
+ patterns: list[pattern]
1613
+ if sys.version_info >= (3, 13):
1614
+ def __init__(self, patterns: list[pattern] = ..., **kwargs: Unpack[_Attributes[int]]) -> None: ...
1615
+ else:
1616
+ def __init__(self, patterns: list[pattern], **kwargs: Unpack[_Attributes[int]]) -> None: ...
1617
+
1618
+ if sys.version_info >= (3, 14):
1619
+ def __replace__(self, *, patterns: list[pattern] = ..., **kwargs: Unpack[_Attributes[int]]) -> Self: ...
1620
+
1621
+ class type_ignore(AST): ...
1622
+
1623
+ class TypeIgnore(type_ignore):
1624
+ __match_args__ = ("lineno", "tag")
1625
+ lineno: int
1626
+ tag: str
1627
+ def __init__(self, lineno: int, tag: str) -> None: ...
1628
+
1629
+ if sys.version_info >= (3, 14):
1630
+ def __replace__(self, *, lineno: int = ..., tag: str = ...) -> Self: ...
1631
+
1632
+ if sys.version_info >= (3, 12):
1633
+ class type_param(AST):
1634
+ lineno: int
1635
+ col_offset: int
1636
+ end_lineno: int
1637
+ end_col_offset: int
1638
+ def __init__(self, **kwargs: Unpack[_Attributes[int]]) -> None: ...
1639
+
1640
+ if sys.version_info >= (3, 14):
1641
+ def __replace__(self, **kwargs: Unpack[_Attributes[int]]) -> Self: ...
1642
+
1643
+ class TypeVar(type_param):
1644
+ if sys.version_info >= (3, 13):
1645
+ __match_args__ = ("name", "bound", "default_value")
1646
+ else:
1647
+ __match_args__ = ("name", "bound")
1648
+ name: str
1649
+ bound: expr | None
1650
+ if sys.version_info >= (3, 13):
1651
+ default_value: expr | None
1652
+ def __init__(
1653
+ self, name: str, bound: expr | None = None, default_value: expr | None = None, **kwargs: Unpack[_Attributes[int]]
1654
+ ) -> None: ...
1655
+ else:
1656
+ def __init__(self, name: str, bound: expr | None = None, **kwargs: Unpack[_Attributes[int]]) -> None: ...
1657
+
1658
+ if sys.version_info >= (3, 14):
1659
+ def __replace__(
1660
+ self,
1661
+ *,
1662
+ name: str = ...,
1663
+ bound: expr | None = ...,
1664
+ default_value: expr | None = ...,
1665
+ **kwargs: Unpack[_Attributes[int]],
1666
+ ) -> Self: ...
1667
+
1668
+ class ParamSpec(type_param):
1669
+ if sys.version_info >= (3, 13):
1670
+ __match_args__ = ("name", "default_value")
1671
+ else:
1672
+ __match_args__ = ("name",)
1673
+ name: str
1674
+ if sys.version_info >= (3, 13):
1675
+ default_value: expr | None
1676
+ def __init__(self, name: str, default_value: expr | None = None, **kwargs: Unpack[_Attributes[int]]) -> None: ...
1677
+ else:
1678
+ def __init__(self, name: str, **kwargs: Unpack[_Attributes[int]]) -> None: ...
1679
+
1680
+ if sys.version_info >= (3, 14):
1681
+ def __replace__(
1682
+ self, *, name: str = ..., default_value: expr | None = ..., **kwargs: Unpack[_Attributes[int]]
1683
+ ) -> Self: ...
1684
+
1685
+ class TypeVarTuple(type_param):
1686
+ if sys.version_info >= (3, 13):
1687
+ __match_args__ = ("name", "default_value")
1688
+ else:
1689
+ __match_args__ = ("name",)
1690
+ name: str
1691
+ if sys.version_info >= (3, 13):
1692
+ default_value: expr | None
1693
+ def __init__(self, name: str, default_value: expr | None = None, **kwargs: Unpack[_Attributes[int]]) -> None: ...
1694
+ else:
1695
+ def __init__(self, name: str, **kwargs: Unpack[_Attributes[int]]) -> None: ...
1696
+
1697
+ if sys.version_info >= (3, 14):
1698
+ def __replace__(
1699
+ self, *, name: str = ..., default_value: expr | None = ..., **kwargs: Unpack[_Attributes[int]]
1700
+ ) -> Self: ...
1701
+
1702
+ if sys.version_info >= (3, 14):
1703
+ @type_check_only
1704
+ class _ABC(type):
1705
+ def __init__(cls, *args: Unused) -> None: ...
1706
+
1707
+ else:
1708
+ class _ABC(type):
1709
+ def __init__(cls, *args: Unused) -> None: ...
1710
+
1711
+ if sys.version_info < (3, 14):
1712
+ @deprecated("Removed in Python 3.14. Use `ast.Constant` instead.")
1713
+ class Num(Constant, metaclass=_ABC):
1714
+ def __new__(cls, n: complex, **kwargs: Unpack[_Attributes]) -> Constant: ... # type: ignore[misc] # pyright: ignore[reportInconsistentConstructor]
1715
+
1716
+ @deprecated("Removed in Python 3.14. Use `ast.Constant` instead.")
1717
+ class Str(Constant, metaclass=_ABC):
1718
+ def __new__(cls, s: str, **kwargs: Unpack[_Attributes]) -> Constant: ... # type: ignore[misc] # pyright: ignore[reportInconsistentConstructor]
1719
+
1720
+ @deprecated("Removed in Python 3.14. Use `ast.Constant` instead.")
1721
+ class Bytes(Constant, metaclass=_ABC):
1722
+ def __new__(cls, s: bytes, **kwargs: Unpack[_Attributes]) -> Constant: ... # type: ignore[misc] # pyright: ignore[reportInconsistentConstructor]
1723
+
1724
+ @deprecated("Removed in Python 3.14. Use `ast.Constant` instead.")
1725
+ class NameConstant(Constant, metaclass=_ABC):
1726
+ def __new__(cls, value: _ConstantValue, kind: str | None, **kwargs: Unpack[_Attributes]) -> Constant: ... # type: ignore[misc] # pyright: ignore[reportInconsistentConstructor]
1727
+
1728
+ @deprecated("Removed in Python 3.14. Use `ast.Constant` instead.")
1729
+ class Ellipsis(Constant, metaclass=_ABC):
1730
+ def __new__(cls, **kwargs: Unpack[_Attributes]) -> Constant: ... # type: ignore[misc] # pyright: ignore[reportInconsistentConstructor]
1731
+
1732
+ # everything below here is defined in ast.py
1733
+
1734
+ _T = _TypeVar("_T", bound=AST)
1735
+
1736
+ if sys.version_info >= (3, 15):
1737
+ @overload
1738
+ def parse(
1739
+ source: _T,
1740
+ filename: str | bytes | os.PathLike[Any] = "<unknown>",
1741
+ mode: Literal["exec", "eval", "func_type", "single"] = "exec",
1742
+ *,
1743
+ type_comments: bool = False,
1744
+ feature_version: None | int | tuple[int, int] = None,
1745
+ optimize: Literal[-1, 0, 1, 2] = -1,
1746
+ module: str | None = None,
1747
+ ) -> _T: ...
1748
+ @overload
1749
+ def parse(
1750
+ source: str | ReadableBuffer,
1751
+ filename: str | bytes | os.PathLike[Any] = "<unknown>",
1752
+ mode: Literal["exec"] = "exec",
1753
+ *,
1754
+ type_comments: bool = False,
1755
+ feature_version: None | int | tuple[int, int] = None,
1756
+ optimize: Literal[-1, 0, 1, 2] = -1,
1757
+ module: str | None = None,
1758
+ ) -> Module: ...
1759
+ @overload
1760
+ def parse(
1761
+ source: str | ReadableBuffer,
1762
+ filename: str | bytes | os.PathLike[Any],
1763
+ mode: Literal["eval"],
1764
+ *,
1765
+ type_comments: bool = False,
1766
+ feature_version: None | int | tuple[int, int] = None,
1767
+ optimize: Literal[-1, 0, 1, 2] = -1,
1768
+ module: str | None = None,
1769
+ ) -> Expression: ...
1770
+ @overload
1771
+ def parse(
1772
+ source: str | ReadableBuffer,
1773
+ filename: str | bytes | os.PathLike[Any],
1774
+ mode: Literal["func_type"],
1775
+ *,
1776
+ type_comments: bool = False,
1777
+ feature_version: None | int | tuple[int, int] = None,
1778
+ optimize: Literal[-1, 0, 1, 2] = -1,
1779
+ module: str | None = None,
1780
+ ) -> FunctionType: ...
1781
+ @overload
1782
+ def parse(
1783
+ source: str | ReadableBuffer,
1784
+ filename: str | bytes | os.PathLike[Any],
1785
+ mode: Literal["single"],
1786
+ *,
1787
+ type_comments: bool = False,
1788
+ feature_version: None | int | tuple[int, int] = None,
1789
+ optimize: Literal[-1, 0, 1, 2] = -1,
1790
+ module: str | None = None,
1791
+ ) -> Interactive: ...
1792
+ @overload
1793
+ def parse(
1794
+ source: str | ReadableBuffer,
1795
+ *,
1796
+ mode: Literal["eval"],
1797
+ type_comments: bool = False,
1798
+ feature_version: None | int | tuple[int, int] = None,
1799
+ optimize: Literal[-1, 0, 1, 2] = -1,
1800
+ module: str | None = None,
1801
+ ) -> Expression: ...
1802
+ @overload
1803
+ def parse(
1804
+ source: str | ReadableBuffer,
1805
+ *,
1806
+ mode: Literal["func_type"],
1807
+ type_comments: bool = False,
1808
+ feature_version: None | int | tuple[int, int] = None,
1809
+ optimize: Literal[-1, 0, 1, 2] = -1,
1810
+ module: str | None = None,
1811
+ ) -> FunctionType: ...
1812
+ @overload
1813
+ def parse(
1814
+ source: str | ReadableBuffer,
1815
+ *,
1816
+ mode: Literal["single"],
1817
+ type_comments: bool = False,
1818
+ feature_version: None | int | tuple[int, int] = None,
1819
+ optimize: Literal[-1, 0, 1, 2] = -1,
1820
+ module: str | None = None,
1821
+ ) -> Interactive: ...
1822
+ @overload
1823
+ def parse(
1824
+ source: str | ReadableBuffer,
1825
+ filename: str | bytes | os.PathLike[Any] = "<unknown>",
1826
+ mode: str = "exec",
1827
+ *,
1828
+ type_comments: bool = False,
1829
+ feature_version: None | int | tuple[int, int] = None,
1830
+ optimize: Literal[-1, 0, 1, 2] = -1,
1831
+ module: str | None = None,
1832
+ ) -> mod: ...
1833
+ elif sys.version_info >= (3, 13):
1834
+ @overload
1835
+ def parse(
1836
+ source: _T,
1837
+ filename: str | bytes | os.PathLike[Any] = "<unknown>",
1838
+ mode: Literal["exec", "eval", "func_type", "single"] = "exec",
1839
+ *,
1840
+ type_comments: bool = False,
1841
+ feature_version: None | int | tuple[int, int] = None,
1842
+ optimize: Literal[-1, 0, 1, 2] = -1,
1843
+ ) -> _T: ...
1844
+ @overload
1845
+ def parse(
1846
+ source: str | ReadableBuffer,
1847
+ filename: str | bytes | os.PathLike[Any] = "<unknown>",
1848
+ mode: Literal["exec"] = "exec",
1849
+ *,
1850
+ type_comments: bool = False,
1851
+ feature_version: None | int | tuple[int, int] = None,
1852
+ optimize: Literal[-1, 0, 1, 2] = -1,
1853
+ ) -> Module: ...
1854
+ @overload
1855
+ def parse(
1856
+ source: str | ReadableBuffer,
1857
+ filename: str | bytes | os.PathLike[Any],
1858
+ mode: Literal["eval"],
1859
+ *,
1860
+ type_comments: bool = False,
1861
+ feature_version: None | int | tuple[int, int] = None,
1862
+ optimize: Literal[-1, 0, 1, 2] = -1,
1863
+ ) -> Expression: ...
1864
+ @overload
1865
+ def parse(
1866
+ source: str | ReadableBuffer,
1867
+ filename: str | bytes | os.PathLike[Any],
1868
+ mode: Literal["func_type"],
1869
+ *,
1870
+ type_comments: bool = False,
1871
+ feature_version: None | int | tuple[int, int] = None,
1872
+ optimize: Literal[-1, 0, 1, 2] = -1,
1873
+ ) -> FunctionType: ...
1874
+ @overload
1875
+ def parse(
1876
+ source: str | ReadableBuffer,
1877
+ filename: str | bytes | os.PathLike[Any],
1878
+ mode: Literal["single"],
1879
+ *,
1880
+ type_comments: bool = False,
1881
+ feature_version: None | int | tuple[int, int] = None,
1882
+ optimize: Literal[-1, 0, 1, 2] = -1,
1883
+ ) -> Interactive: ...
1884
+ @overload
1885
+ def parse(
1886
+ source: str | ReadableBuffer,
1887
+ *,
1888
+ mode: Literal["eval"],
1889
+ type_comments: bool = False,
1890
+ feature_version: None | int | tuple[int, int] = None,
1891
+ optimize: Literal[-1, 0, 1, 2] = -1,
1892
+ ) -> Expression: ...
1893
+ @overload
1894
+ def parse(
1895
+ source: str | ReadableBuffer,
1896
+ *,
1897
+ mode: Literal["func_type"],
1898
+ type_comments: bool = False,
1899
+ feature_version: None | int | tuple[int, int] = None,
1900
+ optimize: Literal[-1, 0, 1, 2] = -1,
1901
+ ) -> FunctionType: ...
1902
+ @overload
1903
+ def parse(
1904
+ source: str | ReadableBuffer,
1905
+ *,
1906
+ mode: Literal["single"],
1907
+ type_comments: bool = False,
1908
+ feature_version: None | int | tuple[int, int] = None,
1909
+ optimize: Literal[-1, 0, 1, 2] = -1,
1910
+ ) -> Interactive: ...
1911
+ @overload
1912
+ def parse(
1913
+ source: str | ReadableBuffer,
1914
+ filename: str | bytes | os.PathLike[Any] = "<unknown>",
1915
+ mode: str = "exec",
1916
+ *,
1917
+ type_comments: bool = False,
1918
+ feature_version: None | int | tuple[int, int] = None,
1919
+ optimize: Literal[-1, 0, 1, 2] = -1,
1920
+ ) -> mod: ...
1921
+ else:
1922
+ @overload
1923
+ def parse(
1924
+ source: _T,
1925
+ filename: str | bytes | os.PathLike[Any] = "<unknown>",
1926
+ mode: Literal["exec", "eval", "func_type", "single"] = "exec",
1927
+ *,
1928
+ type_comments: bool = False,
1929
+ feature_version: None | int | tuple[int, int] = None,
1930
+ ) -> _T: ...
1931
+ @overload
1932
+ def parse(
1933
+ source: str | ReadableBuffer,
1934
+ filename: str | bytes | os.PathLike[Any] = "<unknown>",
1935
+ mode: Literal["exec"] = "exec",
1936
+ *,
1937
+ type_comments: bool = False,
1938
+ feature_version: None | int | tuple[int, int] = None,
1939
+ ) -> Module: ...
1940
+ @overload
1941
+ def parse(
1942
+ source: str | ReadableBuffer,
1943
+ filename: str | bytes | os.PathLike[Any],
1944
+ mode: Literal["eval"],
1945
+ *,
1946
+ type_comments: bool = False,
1947
+ feature_version: None | int | tuple[int, int] = None,
1948
+ ) -> Expression: ...
1949
+ @overload
1950
+ def parse(
1951
+ source: str | ReadableBuffer,
1952
+ filename: str | bytes | os.PathLike[Any],
1953
+ mode: Literal["func_type"],
1954
+ *,
1955
+ type_comments: bool = False,
1956
+ feature_version: None | int | tuple[int, int] = None,
1957
+ ) -> FunctionType: ...
1958
+ @overload
1959
+ def parse(
1960
+ source: str | ReadableBuffer,
1961
+ filename: str | bytes | os.PathLike[Any],
1962
+ mode: Literal["single"],
1963
+ *,
1964
+ type_comments: bool = False,
1965
+ feature_version: None | int | tuple[int, int] = None,
1966
+ ) -> Interactive: ...
1967
+ @overload
1968
+ def parse(
1969
+ source: str | ReadableBuffer,
1970
+ *,
1971
+ mode: Literal["eval"],
1972
+ type_comments: bool = False,
1973
+ feature_version: None | int | tuple[int, int] = None,
1974
+ ) -> Expression: ...
1975
+ @overload
1976
+ def parse(
1977
+ source: str | ReadableBuffer,
1978
+ *,
1979
+ mode: Literal["func_type"],
1980
+ type_comments: bool = False,
1981
+ feature_version: None | int | tuple[int, int] = None,
1982
+ ) -> FunctionType: ...
1983
+ @overload
1984
+ def parse(
1985
+ source: str | ReadableBuffer,
1986
+ *,
1987
+ mode: Literal["single"],
1988
+ type_comments: bool = False,
1989
+ feature_version: None | int | tuple[int, int] = None,
1990
+ ) -> Interactive: ...
1991
+ @overload
1992
+ def parse(
1993
+ source: str | ReadableBuffer,
1994
+ filename: str | bytes | os.PathLike[Any] = "<unknown>",
1995
+ mode: str = "exec",
1996
+ *,
1997
+ type_comments: bool = False,
1998
+ feature_version: None | int | tuple[int, int] = None,
1999
+ ) -> mod: ...
2000
+
2001
+ def literal_eval(node_or_string: str | AST) -> Any: ...
2002
+
2003
+ if sys.version_info >= (3, 15):
2004
+ def dump(
2005
+ node: AST,
2006
+ annotate_fields: bool = True,
2007
+ include_attributes: bool = False,
2008
+ *,
2009
+ indent: int | str | None = None,
2010
+ show_empty: bool = False,
2011
+ color: bool = False,
2012
+ ) -> str: ...
2013
+
2014
+ elif sys.version_info >= (3, 13):
2015
+ def dump(
2016
+ node: AST,
2017
+ annotate_fields: bool = True,
2018
+ include_attributes: bool = False,
2019
+ *,
2020
+ indent: int | str | None = None,
2021
+ show_empty: bool = False,
2022
+ ) -> str: ...
2023
+
2024
+ else:
2025
+ def dump(
2026
+ node: AST, annotate_fields: bool = True, include_attributes: bool = False, *, indent: int | str | None = None
2027
+ ) -> str: ...
2028
+
2029
+ def copy_location(new_node: _T, old_node: AST) -> _T: ...
2030
+ def fix_missing_locations(node: _T) -> _T: ...
2031
+ def increment_lineno(node: _T, n: int = 1) -> _T: ...
2032
+ def iter_fields(node: AST) -> Iterator[tuple[str, Any]]: ...
2033
+ def iter_child_nodes(node: AST) -> Iterator[AST]: ...
2034
+ def get_docstring(node: AsyncFunctionDef | FunctionDef | ClassDef | Module, clean: bool = True) -> str | None: ...
2035
+ def get_source_segment(source: str, node: AST, *, padded: bool = False) -> str | None: ...
2036
+ def walk(node: AST) -> Iterator[AST]: ...
2037
+
2038
+ if sys.version_info >= (3, 14):
2039
+ def compare(left: AST, right: AST, /, *, compare_attributes: bool = False) -> bool: ...
2040
+
2041
+ class NodeVisitor:
2042
+ # All visit methods below can be overwritten by subclasses and return an
2043
+ # arbitrary value, which is passed to the caller.
2044
+ def visit(self, node: AST) -> Any: ...
2045
+ def generic_visit(self, node: AST) -> Any: ...
2046
+ # The following visit methods are not defined on NodeVisitor, but can
2047
+ # be implemented by subclasses and are called during a visit if defined.
2048
+ def visit_Module(self, node: Module) -> Any: ...
2049
+ def visit_Interactive(self, node: Interactive) -> Any: ...
2050
+ def visit_Expression(self, node: Expression) -> Any: ...
2051
+ def visit_FunctionDef(self, node: FunctionDef) -> Any: ...
2052
+ def visit_AsyncFunctionDef(self, node: AsyncFunctionDef) -> Any: ...
2053
+ def visit_ClassDef(self, node: ClassDef) -> Any: ...
2054
+ def visit_Return(self, node: Return) -> Any: ...
2055
+ def visit_Delete(self, node: Delete) -> Any: ...
2056
+ def visit_Assign(self, node: Assign) -> Any: ...
2057
+ def visit_AugAssign(self, node: AugAssign) -> Any: ...
2058
+ def visit_AnnAssign(self, node: AnnAssign) -> Any: ...
2059
+ def visit_For(self, node: For) -> Any: ...
2060
+ def visit_AsyncFor(self, node: AsyncFor) -> Any: ...
2061
+ def visit_While(self, node: While) -> Any: ...
2062
+ def visit_If(self, node: If) -> Any: ...
2063
+ def visit_With(self, node: With) -> Any: ...
2064
+ def visit_AsyncWith(self, node: AsyncWith) -> Any: ...
2065
+ def visit_Raise(self, node: Raise) -> Any: ...
2066
+ def visit_Try(self, node: Try) -> Any: ...
2067
+ def visit_Assert(self, node: Assert) -> Any: ...
2068
+ def visit_Import(self, node: Import) -> Any: ...
2069
+ def visit_ImportFrom(self, node: ImportFrom) -> Any: ...
2070
+ def visit_Global(self, node: Global) -> Any: ...
2071
+ def visit_Nonlocal(self, node: Nonlocal) -> Any: ...
2072
+ def visit_Expr(self, node: Expr) -> Any: ...
2073
+ def visit_Pass(self, node: Pass) -> Any: ...
2074
+ def visit_Break(self, node: Break) -> Any: ...
2075
+ def visit_Continue(self, node: Continue) -> Any: ...
2076
+ def visit_Slice(self, node: Slice) -> Any: ...
2077
+ def visit_BoolOp(self, node: BoolOp) -> Any: ...
2078
+ def visit_BinOp(self, node: BinOp) -> Any: ...
2079
+ def visit_UnaryOp(self, node: UnaryOp) -> Any: ...
2080
+ def visit_Lambda(self, node: Lambda) -> Any: ...
2081
+ def visit_IfExp(self, node: IfExp) -> Any: ...
2082
+ def visit_Dict(self, node: Dict) -> Any: ...
2083
+ def visit_Set(self, node: Set) -> Any: ...
2084
+ def visit_ListComp(self, node: ListComp) -> Any: ...
2085
+ def visit_SetComp(self, node: SetComp) -> Any: ...
2086
+ def visit_DictComp(self, node: DictComp) -> Any: ...
2087
+ def visit_GeneratorExp(self, node: GeneratorExp) -> Any: ...
2088
+ def visit_Await(self, node: Await) -> Any: ...
2089
+ def visit_Yield(self, node: Yield) -> Any: ...
2090
+ def visit_YieldFrom(self, node: YieldFrom) -> Any: ...
2091
+ def visit_Compare(self, node: Compare) -> Any: ...
2092
+ def visit_Call(self, node: Call) -> Any: ...
2093
+ def visit_FormattedValue(self, node: FormattedValue) -> Any: ...
2094
+ def visit_JoinedStr(self, node: JoinedStr) -> Any: ...
2095
+ def visit_Constant(self, node: Constant) -> Any: ...
2096
+ def visit_NamedExpr(self, node: NamedExpr) -> Any: ...
2097
+ def visit_TypeIgnore(self, node: TypeIgnore) -> Any: ...
2098
+ def visit_Attribute(self, node: Attribute) -> Any: ...
2099
+ def visit_Subscript(self, node: Subscript) -> Any: ...
2100
+ def visit_Starred(self, node: Starred) -> Any: ...
2101
+ def visit_Name(self, node: Name) -> Any: ...
2102
+ def visit_List(self, node: List) -> Any: ...
2103
+ def visit_Tuple(self, node: Tuple) -> Any: ...
2104
+ def visit_Del(self, node: Del) -> Any: ...
2105
+ def visit_Load(self, node: Load) -> Any: ...
2106
+ def visit_Store(self, node: Store) -> Any: ...
2107
+ def visit_And(self, node: And) -> Any: ...
2108
+ def visit_Or(self, node: Or) -> Any: ...
2109
+ def visit_Add(self, node: Add) -> Any: ...
2110
+ def visit_BitAnd(self, node: BitAnd) -> Any: ...
2111
+ def visit_BitOr(self, node: BitOr) -> Any: ...
2112
+ def visit_BitXor(self, node: BitXor) -> Any: ...
2113
+ def visit_Div(self, node: Div) -> Any: ...
2114
+ def visit_FloorDiv(self, node: FloorDiv) -> Any: ...
2115
+ def visit_LShift(self, node: LShift) -> Any: ...
2116
+ def visit_Mod(self, node: Mod) -> Any: ...
2117
+ def visit_Mult(self, node: Mult) -> Any: ...
2118
+ def visit_MatMult(self, node: MatMult) -> Any: ...
2119
+ def visit_Pow(self, node: Pow) -> Any: ...
2120
+ def visit_RShift(self, node: RShift) -> Any: ...
2121
+ def visit_Sub(self, node: Sub) -> Any: ...
2122
+ def visit_Invert(self, node: Invert) -> Any: ...
2123
+ def visit_Not(self, node: Not) -> Any: ...
2124
+ def visit_UAdd(self, node: UAdd) -> Any: ...
2125
+ def visit_USub(self, node: USub) -> Any: ...
2126
+ def visit_Eq(self, node: Eq) -> Any: ...
2127
+ def visit_Gt(self, node: Gt) -> Any: ...
2128
+ def visit_GtE(self, node: GtE) -> Any: ...
2129
+ def visit_In(self, node: In) -> Any: ...
2130
+ def visit_Is(self, node: Is) -> Any: ...
2131
+ def visit_IsNot(self, node: IsNot) -> Any: ...
2132
+ def visit_Lt(self, node: Lt) -> Any: ...
2133
+ def visit_LtE(self, node: LtE) -> Any: ...
2134
+ def visit_NotEq(self, node: NotEq) -> Any: ...
2135
+ def visit_NotIn(self, node: NotIn) -> Any: ...
2136
+ def visit_comprehension(self, node: comprehension) -> Any: ...
2137
+ def visit_ExceptHandler(self, node: ExceptHandler) -> Any: ...
2138
+ def visit_arguments(self, node: arguments) -> Any: ...
2139
+ def visit_arg(self, node: arg) -> Any: ...
2140
+ def visit_keyword(self, node: keyword) -> Any: ...
2141
+ def visit_alias(self, node: alias) -> Any: ...
2142
+ def visit_withitem(self, node: withitem) -> Any: ...
2143
+ def visit_Match(self, node: Match) -> Any: ...
2144
+ def visit_match_case(self, node: match_case) -> Any: ...
2145
+ def visit_MatchValue(self, node: MatchValue) -> Any: ...
2146
+ def visit_MatchSequence(self, node: MatchSequence) -> Any: ...
2147
+ def visit_MatchSingleton(self, node: MatchSingleton) -> Any: ...
2148
+ def visit_MatchStar(self, node: MatchStar) -> Any: ...
2149
+ def visit_MatchMapping(self, node: MatchMapping) -> Any: ...
2150
+ def visit_MatchClass(self, node: MatchClass) -> Any: ...
2151
+ def visit_MatchAs(self, node: MatchAs) -> Any: ...
2152
+ def visit_MatchOr(self, node: MatchOr) -> Any: ...
2153
+
2154
+ if sys.version_info >= (3, 11):
2155
+ def visit_TryStar(self, node: TryStar) -> Any: ...
2156
+
2157
+ if sys.version_info >= (3, 12):
2158
+ def visit_TypeVar(self, node: TypeVar) -> Any: ...
2159
+ def visit_ParamSpec(self, node: ParamSpec) -> Any: ...
2160
+ def visit_TypeVarTuple(self, node: TypeVarTuple) -> Any: ...
2161
+ def visit_TypeAlias(self, node: TypeAlias) -> Any: ...
2162
+
2163
+ if sys.version_info >= (3, 14):
2164
+ def visit_TemplateStr(self, node: TemplateStr) -> Any: ...
2165
+ def visit_Interpolation(self, node: Interpolation) -> Any: ...
2166
+
2167
+ # visit methods for deprecated nodes
2168
+ def visit_ExtSlice(self, node: ExtSlice) -> Any: ...
2169
+ def visit_Index(self, node: Index) -> Any: ...
2170
+ def visit_Suite(self, node: Suite) -> Any: ...
2171
+ def visit_AugLoad(self, node: AugLoad) -> Any: ...
2172
+ def visit_AugStore(self, node: AugStore) -> Any: ...
2173
+ def visit_Param(self, node: Param) -> Any: ...
2174
+
2175
+ if sys.version_info < (3, 14):
2176
+ @deprecated("Removed in Python 3.14. Use `visit_Constant` instead.")
2177
+ def visit_Num(self, node: Num) -> Any: ... # type: ignore[deprecated]
2178
+ @deprecated("Removed in Python 3.14. Use `visit_Constant` instead.")
2179
+ def visit_Str(self, node: Str) -> Any: ... # type: ignore[deprecated]
2180
+ @deprecated("Removed in Python 3.14. Use `visit_Constant` instead.")
2181
+ def visit_Bytes(self, node: Bytes) -> Any: ... # type: ignore[deprecated]
2182
+ @deprecated("Removed in Python 3.14. Use `visit_Constant` instead.")
2183
+ def visit_NameConstant(self, node: NameConstant) -> Any: ... # type: ignore[deprecated]
2184
+ @deprecated("Removed in Python 3.14. Use `visit_Constant` instead.")
2185
+ def visit_Ellipsis(self, node: Ellipsis) -> Any: ... # type: ignore[deprecated]
2186
+
2187
+ class NodeTransformer(NodeVisitor):
2188
+ def generic_visit(self, node: AST) -> AST: ...
2189
+ # TODO: Override the visit_* methods with better return types.
2190
+ # The usual return type is AST | None, but Iterable[AST]
2191
+ # is also allowed in some cases -- this needs to be mapped.
2192
+
2193
+ def unparse(ast_obj: AST) -> str: ...
2194
+
2195
+ if sys.version_info >= (3, 14):
2196
+ def main(args: Sequence[str] | None = None) -> None: ...
2197
+
2198
+ else:
2199
+ def main() -> None: ...