basedpyright 1.12.4 → 1.12.5

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 (398) hide show
  1. package/dist/pyright-langserver.js +1 -1
  2. package/dist/pyright-langserver.js.map +1 -1
  3. package/dist/pyright.js +1 -1
  4. package/dist/pyright.js.map +1 -1
  5. package/dist/typeshed-fallback/commit.txt +1 -1
  6. package/dist/typeshed-fallback/stdlib/_ast.pyi +3 -0
  7. package/dist/typeshed-fallback/stdlib/_json.pyi +1 -1
  8. package/dist/typeshed-fallback/stdlib/argparse.pyi +211 -53
  9. package/dist/typeshed-fallback/stdlib/asyncio/__init__.pyi +5 -5
  10. package/dist/typeshed-fallback/stdlib/asyncio/events.pyi +2 -2
  11. package/dist/typeshed-fallback/stdlib/base64.pyi +6 -0
  12. package/dist/typeshed-fallback/stdlib/builtins.pyi +22 -5
  13. package/dist/typeshed-fallback/stdlib/configparser.pyi +143 -52
  14. package/dist/typeshed-fallback/stdlib/dataclasses.pyi +3 -5
  15. package/dist/typeshed-fallback/stdlib/datetime.pyi +32 -0
  16. package/dist/typeshed-fallback/stdlib/enum.pyi +10 -2
  17. package/dist/typeshed-fallback/stdlib/glob.pyi +9 -1
  18. package/dist/typeshed-fallback/stdlib/importlib/metadata/__init__.pyi +4 -1
  19. package/dist/typeshed-fallback/stdlib/io.pyi +1 -1
  20. package/dist/typeshed-fallback/stdlib/ipaddress.pyi +5 -1
  21. package/dist/typeshed-fallback/stdlib/itertools.pyi +58 -0
  22. package/dist/typeshed-fallback/stdlib/json/encoder.pyi +2 -2
  23. package/dist/typeshed-fallback/stdlib/locale.pyi +6 -2
  24. package/dist/typeshed-fallback/stdlib/logging/__init__.pyi +1 -1
  25. package/dist/typeshed-fallback/stdlib/logging/handlers.pyi +1 -1
  26. package/dist/typeshed-fallback/stdlib/math.pyi +1 -1
  27. package/dist/typeshed-fallback/stdlib/mimetypes.pyi +9 -0
  28. package/dist/typeshed-fallback/stdlib/mmap.pyi +2 -0
  29. package/dist/typeshed-fallback/stdlib/multiprocessing/managers.pyi +4 -0
  30. package/dist/typeshed-fallback/stdlib/multiprocessing/shared_memory.pyi +5 -1
  31. package/dist/typeshed-fallback/stdlib/pathlib.pyi +44 -11
  32. package/dist/typeshed-fallback/stdlib/pdb.pyi +3 -1
  33. package/dist/typeshed-fallback/stdlib/platform.pyi +25 -0
  34. package/dist/typeshed-fallback/stdlib/pydoc.pyi +79 -30
  35. package/dist/typeshed-fallback/stdlib/shutil.pyi +9 -6
  36. package/dist/typeshed-fallback/stdlib/sqlite3/dbapi2.pyi +5 -1
  37. package/dist/typeshed-fallback/stdlib/tarfile.pyi +37 -16
  38. package/dist/typeshed-fallback/stdlib/time.pyi +4 -1
  39. package/dist/typeshed-fallback/stdlib/tokenize.pyi +1 -1
  40. package/dist/typeshed-fallback/stdlib/traceback.pyi +54 -18
  41. package/dist/typeshed-fallback/stdlib/types.pyi +4 -0
  42. package/dist/typeshed-fallback/stdlib/typing.pyi +14 -2
  43. package/dist/typeshed-fallback/stdlib/typing_extensions.pyi +5 -3
  44. package/dist/typeshed-fallback/stubs/Flask-Cors/flask_cors/extension.pyi +1 -1
  45. package/dist/typeshed-fallback/stubs/PyMySQL/pymysql/__init__.pyi +5 -0
  46. package/dist/typeshed-fallback/stubs/PyMySQL/pymysql/connections.pyi +2 -0
  47. package/dist/typeshed-fallback/stubs/PyMySQL/pymysql/converters.pyi +4 -3
  48. package/dist/typeshed-fallback/stubs/docker/METADATA.toml +1 -1
  49. package/dist/typeshed-fallback/stubs/docker/docker/api/client.pyi +1 -1
  50. package/dist/typeshed-fallback/stubs/docker/docker/api/container.pyi +17 -2
  51. package/dist/typeshed-fallback/stubs/docker/docker/client.pyi +16 -2
  52. package/dist/typeshed-fallback/stubs/docker/docker/models/containers.pyi +30 -4
  53. package/dist/typeshed-fallback/stubs/docker/docker/models/networks.pyi +1 -1
  54. package/dist/typeshed-fallback/stubs/greenlet/greenlet/__init__.pyi +4 -0
  55. package/dist/typeshed-fallback/stubs/hvac/METADATA.toml +1 -1
  56. package/dist/typeshed-fallback/stubs/hvac/hvac/api/auth_methods/aws.pyi +7 -1
  57. package/dist/typeshed-fallback/stubs/hvac/hvac/api/auth_methods/jwt.pyi +2 -1
  58. package/dist/typeshed-fallback/stubs/hvac/hvac/api/secrets_engines/__init__.pyi +2 -0
  59. package/dist/typeshed-fallback/stubs/hvac/hvac/api/secrets_engines/identity.pyi +0 -1
  60. package/dist/typeshed-fallback/stubs/hvac/hvac/api/secrets_engines/ldap.pyi +41 -0
  61. package/dist/typeshed-fallback/stubs/hvac/hvac/api/secrets_engines/transit.pyi +4 -2
  62. package/dist/typeshed-fallback/stubs/hvac/hvac/api/vault_api_base.pyi +4 -1
  63. package/dist/typeshed-fallback/stubs/hvac/hvac/constants/identity.pyi +2 -0
  64. package/dist/typeshed-fallback/stubs/hvac/hvac/exceptions.pyi +2 -0
  65. package/dist/typeshed-fallback/stubs/nanoid/METADATA.toml +2 -0
  66. package/dist/typeshed-fallback/stubs/nanoid/nanoid/__init__.pyi +4 -0
  67. package/dist/typeshed-fallback/stubs/nanoid/nanoid/algorithm.pyi +1 -0
  68. package/dist/typeshed-fallback/stubs/nanoid/nanoid/generate.pyi +3 -0
  69. package/dist/typeshed-fallback/stubs/nanoid/nanoid/method.pyi +6 -0
  70. package/dist/typeshed-fallback/stubs/nanoid/nanoid/non_secure_generate.pyi +3 -0
  71. package/dist/typeshed-fallback/stubs/nanoid/nanoid/resources.pyi +2 -0
  72. package/dist/typeshed-fallback/stubs/netaddr/METADATA.toml +1 -1
  73. package/dist/typeshed-fallback/stubs/netaddr/netaddr/ip/__init__.pyi +4 -2
  74. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/dag.pyi +12 -9
  75. package/dist/typeshed-fallback/stubs/openpyxl/METADATA.toml +1 -1
  76. package/dist/typeshed-fallback/stubs/pep8-naming/METADATA.toml +1 -1
  77. package/dist/typeshed-fallback/stubs/pep8-naming/pep8ext_naming.pyi +0 -1
  78. package/dist/typeshed-fallback/stubs/pynput/METADATA.toml +1 -1
  79. package/dist/typeshed-fallback/stubs/pynput/pynput/_util.pyi +1 -1
  80. package/dist/typeshed-fallback/stubs/pynput/pynput/keyboard/_base.pyi +64 -64
  81. package/dist/typeshed-fallback/stubs/pyserial/serial/serialutil.pyi +1 -1
  82. package/dist/typeshed-fallback/stubs/python-crontab/METADATA.toml +1 -1
  83. package/dist/typeshed-fallback/stubs/python-crontab/crontab.pyi +1 -0
  84. package/dist/typeshed-fallback/stubs/reportlab/METADATA.toml +6 -0
  85. package/dist/typeshed-fallback/stubs/reportlab/reportlab/__init__.pyi +11 -0
  86. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/__init__.pyi +3 -0
  87. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/barcode/__init__.pyi +5 -0
  88. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/barcode/code128.pyi +33 -0
  89. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/barcode/code39.pyi +32 -0
  90. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/barcode/code93.pyi +28 -0
  91. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/barcode/common.pyi +124 -0
  92. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/barcode/dmtx.pyi +68 -0
  93. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/barcode/eanbc.pyi +41 -0
  94. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/barcode/ecc200datamatrix.pyi +22 -0
  95. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/barcode/fourstate.pyi +0 -0
  96. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/barcode/lto.pyi +41 -0
  97. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/barcode/qr.pyi +52 -0
  98. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/barcode/qrencoder.pyi +202 -0
  99. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/barcode/usps.pyi +36 -0
  100. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/barcode/usps4s.pyi +85 -0
  101. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/barcode/widgets.pyi +65 -0
  102. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/charts/__init__.pyi +3 -0
  103. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/charts/areas.pyi +19 -0
  104. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/charts/axes.pyi +205 -0
  105. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/charts/barcharts.pyi +105 -0
  106. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/charts/dotbox.pyi +24 -0
  107. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/charts/doughnut.pyi +34 -0
  108. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/charts/legends.pyi +101 -0
  109. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/charts/linecharts.pyi +67 -0
  110. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/charts/lineplots.pyi +119 -0
  111. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/charts/markers.pyi +10 -0
  112. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/charts/piecharts.pyi +182 -0
  113. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/charts/slidebox.pyi +38 -0
  114. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/charts/spider.pyi +60 -0
  115. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/charts/textlabels.pyi +60 -0
  116. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/charts/utils.pyi +49 -0
  117. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/charts/utils3d.pyi +26 -0
  118. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/renderPDF.pyi +39 -0
  119. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/renderPM.pyi +127 -0
  120. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/renderPS.pyi +73 -0
  121. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/renderSVG.pyi +131 -0
  122. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/renderbase.pyi +40 -0
  123. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/samples/__init__.pyi +0 -0
  124. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/samples/bubble.pyi +5 -0
  125. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/samples/clustered_bar.pyi +5 -0
  126. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/samples/clustered_column.pyi +5 -0
  127. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/samples/excelcolors.pyi +33 -0
  128. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/samples/exploded_pie.pyi +8 -0
  129. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/samples/filled_radar.pyi +5 -0
  130. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/samples/line_chart.pyi +5 -0
  131. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/samples/linechart_with_markers.pyi +5 -0
  132. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/samples/radar.pyi +5 -0
  133. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/samples/runall.pyi +3 -0
  134. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/samples/scatter.pyi +5 -0
  135. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/samples/scatter_lines.pyi +5 -0
  136. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/samples/scatter_lines_markers.pyi +5 -0
  137. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/samples/simple_pie.pyi +8 -0
  138. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/samples/stacked_bar.pyi +5 -0
  139. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/samples/stacked_column.pyi +5 -0
  140. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/shapes.pyi +371 -0
  141. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/svgpath.pyi +8 -0
  142. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/transform.pyi +12 -0
  143. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/utils.pyi +22 -0
  144. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/widgetbase.pyi +112 -0
  145. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/widgets/__init__.pyi +3 -0
  146. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/widgets/adjustableArrow.pyi +11 -0
  147. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/widgets/eventcal.pyi +29 -0
  148. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/widgets/flags.pyi +32 -0
  149. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/widgets/grids.pyi +76 -0
  150. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/widgets/markers.pyi +21 -0
  151. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/widgets/signsandsymbols.pyi +164 -0
  152. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/widgets/table.pyi +32 -0
  153. package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/PyFontify.pyi +21 -0
  154. package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/__init__.pyi +4 -0
  155. package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/abag.pyi +11 -0
  156. package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/arciv.pyi +7 -0
  157. package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/attrmap.pyi +40 -0
  158. package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/boxstuff.pyi +6 -0
  159. package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/codecharts.pyi +80 -0
  160. package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/colors.pyi +318 -0
  161. package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/corp.pyi +79 -0
  162. package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/enums.pyi +7 -0
  163. package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/extformat.pyi +6 -0
  164. package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/fontfinder.pyi +59 -0
  165. package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/fonts.pyi +10 -0
  166. package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/formatters.pyi +24 -0
  167. package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/geomutils.pyi +5 -0
  168. package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/logger.pyi +24 -0
  169. package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/normalDate.pyi +82 -0
  170. package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/pagesizes.pyi +51 -0
  171. package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/pdfencrypt.pyi +133 -0
  172. package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/pygments2xpre.pyi +1 -0
  173. package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/randomtext.pyi +19 -0
  174. package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/rl_accel.pyi +11 -0
  175. package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/rl_safe_eval.pyi +253 -0
  176. package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/rltempfile.pyi +2 -0
  177. package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/rparsexml.pyi +32 -0
  178. package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/sequencer.pyi +31 -0
  179. package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/styles.pyi +181 -0
  180. package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/testutils.pyi +67 -0
  181. package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/textsplit.pyi +19 -0
  182. package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/units.pyi +9 -0
  183. package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/utils.pyi +190 -0
  184. package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/validators.pyi +171 -0
  185. package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/yaml.pyi +26 -0
  186. package/dist/typeshed-fallback/stubs/reportlab/reportlab/pdfbase/__init__.pyi +3 -0
  187. package/dist/typeshed-fallback/stubs/reportlab/reportlab/pdfbase/acroform.pyi +214 -0
  188. package/dist/typeshed-fallback/stubs/reportlab/reportlab/pdfbase/cidfonts.pyi +51 -0
  189. package/dist/typeshed-fallback/stubs/reportlab/reportlab/pdfbase/pdfdoc.pyi +627 -0
  190. package/dist/typeshed-fallback/stubs/reportlab/reportlab/pdfbase/pdfform.pyi +81 -0
  191. package/dist/typeshed-fallback/stubs/reportlab/reportlab/pdfbase/pdfmetrics.pyi +93 -0
  192. package/dist/typeshed-fallback/stubs/reportlab/reportlab/pdfbase/pdfpattern.pyi +21 -0
  193. package/dist/typeshed-fallback/stubs/reportlab/reportlab/pdfbase/pdfutils.pyi +16 -0
  194. package/dist/typeshed-fallback/stubs/reportlab/reportlab/pdfbase/rl_codecs.pyi +24 -0
  195. package/dist/typeshed-fallback/stubs/reportlab/reportlab/pdfbase/ttfonts.pyi +150 -0
  196. package/dist/typeshed-fallback/stubs/reportlab/reportlab/pdfgen/__init__.pyi +3 -0
  197. package/dist/typeshed-fallback/stubs/reportlab/reportlab/pdfgen/canvas.pyi +306 -0
  198. package/dist/typeshed-fallback/stubs/reportlab/reportlab/pdfgen/pathobject.pyi +18 -0
  199. package/dist/typeshed-fallback/stubs/reportlab/reportlab/pdfgen/pdfgeom.pyi +5 -0
  200. package/dist/typeshed-fallback/stubs/reportlab/reportlab/pdfgen/pdfimages.pyi +38 -0
  201. package/dist/typeshed-fallback/stubs/reportlab/reportlab/pdfgen/textobject.pyi +52 -0
  202. package/dist/typeshed-fallback/stubs/reportlab/reportlab/platypus/__init__.pyi +12 -0
  203. package/dist/typeshed-fallback/stubs/reportlab/reportlab/platypus/doctemplate.pyi +267 -0
  204. package/dist/typeshed-fallback/stubs/reportlab/reportlab/platypus/figures.pyi +118 -0
  205. package/dist/typeshed-fallback/stubs/reportlab/reportlab/platypus/flowables.pyi +451 -0
  206. package/dist/typeshed-fallback/stubs/reportlab/reportlab/platypus/frames.pyi +37 -0
  207. package/dist/typeshed-fallback/stubs/reportlab/reportlab/platypus/multicol.pyi +17 -0
  208. package/dist/typeshed-fallback/stubs/reportlab/reportlab/platypus/para.pyi +271 -0
  209. package/dist/typeshed-fallback/stubs/reportlab/reportlab/platypus/paragraph.pyi +38 -0
  210. package/dist/typeshed-fallback/stubs/reportlab/reportlab/platypus/paraparser.pyi +117 -0
  211. package/dist/typeshed-fallback/stubs/reportlab/reportlab/platypus/tableofcontents.pyi +108 -0
  212. package/dist/typeshed-fallback/stubs/reportlab/reportlab/platypus/tables.pyi +124 -0
  213. package/dist/typeshed-fallback/stubs/reportlab/reportlab/platypus/xpreformatted.pyi +30 -0
  214. package/dist/typeshed-fallback/stubs/reportlab/reportlab/rl_config.pyi +71 -0
  215. package/dist/typeshed-fallback/stubs/reportlab/reportlab/rl_settings.pyi +72 -0
  216. package/dist/typeshed-fallback/stubs/requests/requests/__version__.pyi +12 -10
  217. package/dist/typeshed-fallback/stubs/requests/requests/adapters.pyi +38 -7
  218. package/dist/typeshed-fallback/stubs/requests/requests/models.pyi +21 -21
  219. package/dist/typeshed-fallback/stubs/requests/requests/utils.pyi +8 -6
  220. package/dist/typeshed-fallback/stubs/setuptools/METADATA.toml +1 -1
  221. package/dist/typeshed-fallback/stubs/setuptools/pkg_resources/__init__.pyi +25 -19
  222. package/dist/typeshed-fallback/stubs/setuptools/setuptools/command/build.pyi +1 -2
  223. package/dist/typeshed-fallback/stubs/setuptools/setuptools/command/editable_wheel.pyi +3 -0
  224. package/dist/typeshed-fallback/stubs/setuptools/setuptools/compat/py311.pyi +3 -2
  225. package/dist/typeshed-fallback/stubs/shapely/METADATA.toml +4 -0
  226. package/dist/typeshed-fallback/stubs/shapely/shapely/__init__.pyi +34 -0
  227. package/dist/typeshed-fallback/stubs/shapely/shapely/_enum.pyi +5 -0
  228. package/dist/typeshed-fallback/stubs/shapely/shapely/_geometry.pyi +184 -0
  229. package/dist/typeshed-fallback/stubs/shapely/shapely/_ragged_array.pyi +12 -0
  230. package/dist/typeshed-fallback/stubs/shapely/shapely/_typing.pyi +58 -0
  231. package/dist/typeshed-fallback/stubs/shapely/shapely/_version.pyi +6 -0
  232. package/dist/typeshed-fallback/stubs/shapely/shapely/affinity.pyi +23 -0
  233. package/dist/typeshed-fallback/stubs/shapely/shapely/algorithms/__init__.pyi +0 -0
  234. package/dist/typeshed-fallback/stubs/shapely/shapely/algorithms/cga.pyi +6 -0
  235. package/dist/typeshed-fallback/stubs/shapely/shapely/algorithms/polylabel.pyi +19 -0
  236. package/dist/typeshed-fallback/stubs/shapely/shapely/constructive.pyi +430 -0
  237. package/dist/typeshed-fallback/stubs/shapely/shapely/coordinates.pyi +43 -0
  238. package/dist/typeshed-fallback/stubs/shapely/shapely/coords.pyi +18 -0
  239. package/dist/typeshed-fallback/stubs/shapely/shapely/creation.pyi +242 -0
  240. package/dist/typeshed-fallback/stubs/shapely/shapely/decorators.pyi +11 -0
  241. package/dist/typeshed-fallback/stubs/shapely/shapely/errors.pyi +17 -0
  242. package/dist/typeshed-fallback/stubs/shapely/shapely/geometry/__init__.pyi +25 -0
  243. package/dist/typeshed-fallback/stubs/shapely/shapely/geometry/base.pyi +285 -0
  244. package/dist/typeshed-fallback/stubs/shapely/shapely/geometry/collection.pyi +18 -0
  245. package/dist/typeshed-fallback/stubs/shapely/shapely/geometry/geo.pyi +9 -0
  246. package/dist/typeshed-fallback/stubs/shapely/shapely/geometry/linestring.pyi +45 -0
  247. package/dist/typeshed-fallback/stubs/shapely/shapely/geometry/multilinestring.pyi +15 -0
  248. package/dist/typeshed-fallback/stubs/shapely/shapely/geometry/multipoint.pyi +20 -0
  249. package/dist/typeshed-fallback/stubs/shapely/shapely/geometry/multipolygon.pyi +22 -0
  250. package/dist/typeshed-fallback/stubs/shapely/shapely/geometry/point.pyi +39 -0
  251. package/dist/typeshed-fallback/stubs/shapely/shapely/geometry/polygon.pyi +45 -0
  252. package/dist/typeshed-fallback/stubs/shapely/shapely/geos.pyi +3 -0
  253. package/dist/typeshed-fallback/stubs/shapely/shapely/io.pyi +140 -0
  254. package/dist/typeshed-fallback/stubs/shapely/shapely/lib.pyi +167 -0
  255. package/dist/typeshed-fallback/stubs/shapely/shapely/linear.pyi +69 -0
  256. package/dist/typeshed-fallback/stubs/shapely/shapely/measurement.pyi +68 -0
  257. package/dist/typeshed-fallback/stubs/shapely/shapely/ops.pyi +106 -0
  258. package/dist/typeshed-fallback/stubs/shapely/shapely/plotting.pyi +76 -0
  259. package/dist/typeshed-fallback/stubs/shapely/shapely/predicates.pyi +214 -0
  260. package/dist/typeshed-fallback/stubs/shapely/shapely/prepared.pyi +20 -0
  261. package/dist/typeshed-fallback/stubs/shapely/shapely/set_operations.pyi +86 -0
  262. package/dist/typeshed-fallback/stubs/shapely/shapely/speedups.pyi +12 -0
  263. package/dist/typeshed-fallback/stubs/shapely/shapely/strtree.pyi +82 -0
  264. package/dist/typeshed-fallback/stubs/shapely/shapely/testing.pyi +14 -0
  265. package/dist/typeshed-fallback/stubs/shapely/shapely/validation.pyi +7 -0
  266. package/dist/typeshed-fallback/stubs/shapely/shapely/vectorized/__init__.pyi +37 -0
  267. package/dist/typeshed-fallback/stubs/shapely/shapely/wkb.pyi +16 -0
  268. package/dist/typeshed-fallback/stubs/shapely/shapely/wkt.pyi +8 -0
  269. package/package.json +1 -1
  270. package/dist/typeshed-fallback/stubs/setuptools/setuptools/dep_util.pyi +0 -1
  271. package/dist/typeshed-fallback/stubs/stripe/METADATA.toml +0 -7
  272. package/dist/typeshed-fallback/stubs/stripe/stripe/__init__.pyi +0 -25
  273. package/dist/typeshed-fallback/stubs/stripe/stripe/api_requestor.pyi +0 -38
  274. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/__init__.pyi +0 -82
  275. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/abstract/__init__.pyi +0 -12
  276. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/abstract/api_resource.pyi +0 -13
  277. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/abstract/createable_api_resource.pyi +0 -16
  278. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/abstract/custom_method.pyi +0 -3
  279. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/abstract/deletable_api_resource.pyi +0 -7
  280. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/abstract/listable_api_resource.pyi +0 -19
  281. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/abstract/nested_resource_class_methods.pyi +0 -7
  282. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/abstract/searchable_api_resource.pyi +0 -11
  283. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/abstract/singleton_api_resource.pyi +0 -8
  284. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/abstract/updateable_api_resource.pyi +0 -8
  285. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/abstract/verify_mixin.pyi +0 -2
  286. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/account.pyi +0 -75
  287. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/account_link.pyi +0 -4
  288. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/alipay_account.pyi +0 -23
  289. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/apple_pay_domain.pyi +0 -10
  290. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/application_fee.pyi +0 -8
  291. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/application_fee_refund.pyi +0 -14
  292. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/balance.pyi +0 -4
  293. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/balance_transaction.pyi +0 -4
  294. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/bank_account.pyi +0 -26
  295. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/billing_portal/__init__.pyi +0 -2
  296. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/billing_portal/configuration.pyi +0 -8
  297. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/billing_portal/session.pyi +0 -4
  298. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/bitcoin_receiver.pyi +0 -8
  299. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/bitcoin_transaction.pyi +0 -4
  300. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/capability.pyi +0 -13
  301. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/card.pyi +0 -26
  302. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/charge.pyi +0 -17
  303. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/checkout/__init__.pyi +0 -1
  304. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/checkout/session.pyi +0 -16
  305. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/country_spec.pyi +0 -4
  306. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/coupon.pyi +0 -9
  307. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/credit_note.pyi +0 -21
  308. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/credit_note_line_item.pyi +0 -4
  309. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/customer.pyi +0 -58
  310. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/customer_balance_transaction.pyi +0 -11
  311. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/dispute.pyi +0 -9
  312. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/ephemeral_key.pyi +0 -16
  313. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/error_object.pyi +0 -25
  314. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/event.pyi +0 -4
  315. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/exchange_rate.pyi +0 -4
  316. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/file.pyi +0 -21
  317. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/file_link.pyi +0 -8
  318. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/identity/__init__.pyi +0 -2
  319. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/identity/verification_report.pyi +0 -4
  320. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/identity/verification_session.pyi +0 -11
  321. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/invoice.pyi +0 -28
  322. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/invoice_item.pyi +0 -9
  323. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/invoice_line_item.pyi +0 -4
  324. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/issuer_fraud_record.pyi +0 -4
  325. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/issuing/__init__.pyi +0 -6
  326. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/issuing/authorization.pyi +0 -10
  327. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/issuing/card.pyi +0 -10
  328. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/issuing/card_details.pyi +0 -4
  329. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/issuing/cardholder.pyi +0 -8
  330. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/issuing/dispute.pyi +0 -10
  331. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/issuing/transaction.pyi +0 -7
  332. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/line_item.pyi +0 -4
  333. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/list_object.pyi +0 -57
  334. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/login_link.pyi +0 -4
  335. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/mandate.pyi +0 -4
  336. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/order.pyi +0 -13
  337. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/payment_intent.pyi +0 -22
  338. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/payment_link.pyi +0 -24
  339. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/payment_method.pyi +0 -13
  340. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/payout.pyi +0 -11
  341. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/person.pyi +0 -13
  342. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/plan.pyi +0 -9
  343. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/price.pyi +0 -9
  344. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/product.pyi +0 -10
  345. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/promotion_code.pyi +0 -8
  346. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/quote.pyi +0 -24
  347. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/radar/__init__.pyi +0 -3
  348. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/radar/early_fraud_warning.pyi +0 -4
  349. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/radar/value_list.pyi +0 -9
  350. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/radar/value_list_item.pyi +0 -8
  351. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/recipient.pyi +0 -9
  352. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/recipient_transfer.pyi +0 -4
  353. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/refund.pyi +0 -8
  354. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/reporting/__init__.pyi +0 -2
  355. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/reporting/report_run.pyi +0 -7
  356. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/reporting/report_type.pyi +0 -4
  357. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/reversal.pyi +0 -13
  358. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/review.pyi +0 -5
  359. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/search_result_object.pyi +0 -32
  360. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/setup_attempt.pyi +0 -4
  361. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/setup_intent.pyi +0 -11
  362. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/shipping_rate.pyi +0 -9
  363. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/sigma/__init__.pyi +0 -1
  364. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/sigma/scheduled_query_run.pyi +0 -6
  365. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/sku.pyi +0 -9
  366. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/source.pyi +0 -13
  367. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/source_transaction.pyi +0 -4
  368. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/subscription.pyi +0 -15
  369. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/subscription_item.pyi +0 -27
  370. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/subscription_schedule.pyi +0 -11
  371. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/tax_code.pyi +0 -4
  372. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/tax_id.pyi +0 -11
  373. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/tax_rate.pyi +0 -8
  374. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/terminal/__init__.pyi +0 -3
  375. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/terminal/connection_token.pyi +0 -4
  376. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/terminal/location.pyi +0 -9
  377. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/terminal/reader.pyi +0 -9
  378. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/test_helpers/__init__.pyi +0 -1
  379. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/test_helpers/test_clock.pyi +0 -10
  380. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/three_d_secure.pyi +0 -6
  381. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/token.pyi +0 -4
  382. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/topup.pyi +0 -10
  383. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/transfer.pyi +0 -11
  384. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/usage_record.pyi +0 -16
  385. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/usage_record_summary.pyi +0 -4
  386. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/webhook_endpoint.pyi +0 -9
  387. package/dist/typeshed-fallback/stubs/stripe/stripe/error.pyi +0 -76
  388. package/dist/typeshed-fallback/stubs/stripe/stripe/http_client.pyi +0 -52
  389. package/dist/typeshed-fallback/stubs/stripe/stripe/multipart_data_generator.pyi +0 -11
  390. package/dist/typeshed-fallback/stubs/stripe/stripe/oauth.pyi +0 -11
  391. package/dist/typeshed-fallback/stubs/stripe/stripe/oauth_error.pyi +0 -22
  392. package/dist/typeshed-fallback/stubs/stripe/stripe/object_classes.pyi +0 -5
  393. package/dist/typeshed-fallback/stubs/stripe/stripe/request_metrics.pyi +0 -7
  394. package/dist/typeshed-fallback/stubs/stripe/stripe/stripe_object.pyi +0 -62
  395. package/dist/typeshed-fallback/stubs/stripe/stripe/stripe_response.pyi +0 -19
  396. package/dist/typeshed-fallback/stubs/stripe/stripe/util.pyi +0 -42
  397. package/dist/typeshed-fallback/stubs/stripe/stripe/version.pyi +0 -1
  398. package/dist/typeshed-fallback/stubs/stripe/stripe/webhook.pyi +0 -17
@@ -5,7 +5,31 @@ from re import Pattern
5
5
  from typing import Any, ClassVar, Literal, TypeVar, overload
6
6
  from typing_extensions import TypeAlias
7
7
 
8
- if sys.version_info >= (3, 12):
8
+ if sys.version_info >= (3, 13):
9
+ __all__ = (
10
+ "NoSectionError",
11
+ "DuplicateOptionError",
12
+ "DuplicateSectionError",
13
+ "NoOptionError",
14
+ "InterpolationError",
15
+ "InterpolationDepthError",
16
+ "InterpolationMissingOptionError",
17
+ "InterpolationSyntaxError",
18
+ "ParsingError",
19
+ "MissingSectionHeaderError",
20
+ "ConfigParser",
21
+ "RawConfigParser",
22
+ "Interpolation",
23
+ "BasicInterpolation",
24
+ "ExtendedInterpolation",
25
+ "SectionProxy",
26
+ "ConverterMapping",
27
+ "DEFAULTSECT",
28
+ "MAX_INTERPOLATION_DEPTH",
29
+ "UNNAMED_SECTION",
30
+ "MultilineContinuationError",
31
+ )
32
+ elif sys.version_info >= (3, 12):
9
33
  __all__ = (
10
34
  "NoSectionError",
11
35
  "DuplicateOptionError",
@@ -71,8 +95,9 @@ class Interpolation:
71
95
  class BasicInterpolation(Interpolation): ...
72
96
  class ExtendedInterpolation(Interpolation): ...
73
97
 
74
- class LegacyInterpolation(Interpolation):
75
- def before_get(self, parser: _Parser, section: str, option: str, value: str, vars: _Section) -> str: ...
98
+ if sys.version_info < (3, 13):
99
+ class LegacyInterpolation(Interpolation):
100
+ def before_get(self, parser: _Parser, section: str, option: str, value: str, vars: _Section) -> str: ...
76
101
 
77
102
  class RawConfigParser(_Parser):
78
103
  _SECT_TMPL: ClassVar[str] # undocumented
@@ -86,54 +111,108 @@ class RawConfigParser(_Parser):
86
111
 
87
112
  BOOLEAN_STATES: ClassVar[Mapping[str, bool]] # undocumented
88
113
  default_section: str
89
- @overload
90
- def __init__(
91
- self,
92
- defaults: Mapping[str, str | None] | None = None,
93
- dict_type: type[Mapping[str, str]] = ...,
94
- *,
95
- allow_no_value: Literal[True],
96
- delimiters: Sequence[str] = ("=", ":"),
97
- comment_prefixes: Sequence[str] = ("#", ";"),
98
- inline_comment_prefixes: Sequence[str] | None = None,
99
- strict: bool = True,
100
- empty_lines_in_values: bool = True,
101
- default_section: str = "DEFAULT",
102
- interpolation: Interpolation | None = ...,
103
- converters: _ConvertersMap = ...,
104
- ) -> None: ...
105
- @overload
106
- def __init__(
107
- self,
108
- defaults: Mapping[str, str | None] | None,
109
- dict_type: type[Mapping[str, str]],
110
- allow_no_value: Literal[True],
111
- *,
112
- delimiters: Sequence[str] = ("=", ":"),
113
- comment_prefixes: Sequence[str] = ("#", ";"),
114
- inline_comment_prefixes: Sequence[str] | None = None,
115
- strict: bool = True,
116
- empty_lines_in_values: bool = True,
117
- default_section: str = "DEFAULT",
118
- interpolation: Interpolation | None = ...,
119
- converters: _ConvertersMap = ...,
120
- ) -> None: ...
121
- @overload
122
- def __init__(
123
- self,
124
- defaults: _Section | None = None,
125
- dict_type: type[Mapping[str, str]] = ...,
126
- allow_no_value: bool = False,
127
- *,
128
- delimiters: Sequence[str] = ("=", ":"),
129
- comment_prefixes: Sequence[str] = ("#", ";"),
130
- inline_comment_prefixes: Sequence[str] | None = None,
131
- strict: bool = True,
132
- empty_lines_in_values: bool = True,
133
- default_section: str = "DEFAULT",
134
- interpolation: Interpolation | None = ...,
135
- converters: _ConvertersMap = ...,
136
- ) -> None: ...
114
+ if sys.version_info >= (3, 13):
115
+ @overload
116
+ def __init__(
117
+ self,
118
+ defaults: Mapping[str, str | None] | None = None,
119
+ dict_type: type[Mapping[str, str]] = ...,
120
+ *,
121
+ allow_no_value: Literal[True],
122
+ delimiters: Sequence[str] = ("=", ":"),
123
+ comment_prefixes: Sequence[str] = ("#", ";"),
124
+ inline_comment_prefixes: Sequence[str] | None = None,
125
+ strict: bool = True,
126
+ empty_lines_in_values: bool = True,
127
+ default_section: str = "DEFAULT",
128
+ interpolation: Interpolation | None = ...,
129
+ converters: _ConvertersMap = ...,
130
+ allow_unnamed_section: bool = False,
131
+ ) -> None: ...
132
+ @overload
133
+ def __init__(
134
+ self,
135
+ defaults: Mapping[str, str | None] | None,
136
+ dict_type: type[Mapping[str, str]],
137
+ allow_no_value: Literal[True],
138
+ *,
139
+ delimiters: Sequence[str] = ("=", ":"),
140
+ comment_prefixes: Sequence[str] = ("#", ";"),
141
+ inline_comment_prefixes: Sequence[str] | None = None,
142
+ strict: bool = True,
143
+ empty_lines_in_values: bool = True,
144
+ default_section: str = "DEFAULT",
145
+ interpolation: Interpolation | None = ...,
146
+ converters: _ConvertersMap = ...,
147
+ allow_unnamed_section: bool = False,
148
+ ) -> None: ...
149
+ @overload
150
+ def __init__(
151
+ self,
152
+ defaults: _Section | None = None,
153
+ dict_type: type[Mapping[str, str]] = ...,
154
+ allow_no_value: bool = False,
155
+ *,
156
+ delimiters: Sequence[str] = ("=", ":"),
157
+ comment_prefixes: Sequence[str] = ("#", ";"),
158
+ inline_comment_prefixes: Sequence[str] | None = None,
159
+ strict: bool = True,
160
+ empty_lines_in_values: bool = True,
161
+ default_section: str = "DEFAULT",
162
+ interpolation: Interpolation | None = ...,
163
+ converters: _ConvertersMap = ...,
164
+ allow_unnamed_section: bool = False,
165
+ ) -> None: ...
166
+ else:
167
+ @overload
168
+ def __init__(
169
+ self,
170
+ defaults: Mapping[str, str | None] | None = None,
171
+ dict_type: type[Mapping[str, str]] = ...,
172
+ *,
173
+ allow_no_value: Literal[True],
174
+ delimiters: Sequence[str] = ("=", ":"),
175
+ comment_prefixes: Sequence[str] = ("#", ";"),
176
+ inline_comment_prefixes: Sequence[str] | None = None,
177
+ strict: bool = True,
178
+ empty_lines_in_values: bool = True,
179
+ default_section: str = "DEFAULT",
180
+ interpolation: Interpolation | None = ...,
181
+ converters: _ConvertersMap = ...,
182
+ ) -> None: ...
183
+ @overload
184
+ def __init__(
185
+ self,
186
+ defaults: Mapping[str, str | None] | None,
187
+ dict_type: type[Mapping[str, str]],
188
+ allow_no_value: Literal[True],
189
+ *,
190
+ delimiters: Sequence[str] = ("=", ":"),
191
+ comment_prefixes: Sequence[str] = ("#", ";"),
192
+ inline_comment_prefixes: Sequence[str] | None = None,
193
+ strict: bool = True,
194
+ empty_lines_in_values: bool = True,
195
+ default_section: str = "DEFAULT",
196
+ interpolation: Interpolation | None = ...,
197
+ converters: _ConvertersMap = ...,
198
+ ) -> None: ...
199
+ @overload
200
+ def __init__(
201
+ self,
202
+ defaults: _Section | None = None,
203
+ dict_type: type[Mapping[str, str]] = ...,
204
+ allow_no_value: bool = False,
205
+ *,
206
+ delimiters: Sequence[str] = ("=", ":"),
207
+ comment_prefixes: Sequence[str] = ("#", ";"),
208
+ inline_comment_prefixes: Sequence[str] | None = None,
209
+ strict: bool = True,
210
+ empty_lines_in_values: bool = True,
211
+ default_section: str = "DEFAULT",
212
+ interpolation: Interpolation | None = ...,
213
+ converters: _ConvertersMap = ...,
214
+ ) -> None: ...
215
+
137
216
  def __len__(self) -> int: ...
138
217
  def __getitem__(self, key: str) -> SectionProxy: ...
139
218
  def __setitem__(self, key: str, value: _Section) -> None: ...
@@ -300,7 +379,10 @@ class InterpolationSyntaxError(InterpolationError): ...
300
379
  class ParsingError(Error):
301
380
  source: str
302
381
  errors: list[tuple[int, str]]
303
- if sys.version_info >= (3, 12):
382
+ if sys.version_info >= (3, 13):
383
+ def __init__(self, source: str, *args: object) -> None: ...
384
+ def combine(self, others: Iterable[ParsingError]) -> ParsingError: ...
385
+ elif sys.version_info >= (3, 12):
304
386
  def __init__(self, source: str) -> None: ...
305
387
  else:
306
388
  def __init__(self, source: str | None = None, filename: str | None = None) -> None: ...
@@ -311,3 +393,12 @@ class MissingSectionHeaderError(ParsingError):
311
393
  lineno: int
312
394
  line: str
313
395
  def __init__(self, filename: str, lineno: int, line: str) -> None: ...
396
+
397
+ if sys.version_info >= (3, 13):
398
+ class _UNNAMED_SECTION: ...
399
+ UNNAMED_SECTION: _UNNAMED_SECTION
400
+
401
+ class MultilineContinuationError(ParsingError):
402
+ lineno: int
403
+ line: str
404
+ def __init__(self, filename: str, lineno: int, line: str) -> None: ...
@@ -5,7 +5,7 @@ from _typeshed import DataclassInstance
5
5
  from builtins import type as Type # alias to avoid name clashes with fields named "type"
6
6
  from collections.abc import Callable, Iterable, Mapping
7
7
  from typing import Any, Generic, Literal, Protocol, TypeVar, overload
8
- from typing_extensions import TypeAlias, TypeGuard
8
+ from typing_extensions import TypeAlias, TypeIs
9
9
 
10
10
  if sys.version_info >= (3, 9):
11
11
  from types import GenericAlias
@@ -214,11 +214,9 @@ else:
214
214
 
215
215
  def fields(class_or_instance: DataclassInstance | type[DataclassInstance]) -> tuple[Field[Any], ...]: ...
216
216
  @overload
217
- def is_dataclass(obj: DataclassInstance) -> Literal[True]: ...
217
+ def is_dataclass(obj: type) -> TypeIs[type[DataclassInstance]]: ...
218
218
  @overload
219
- def is_dataclass(obj: type) -> TypeGuard[type[DataclassInstance]]: ...
220
- @overload
221
- def is_dataclass(obj: object) -> TypeGuard[DataclassInstance | type[DataclassInstance]]: ...
219
+ def is_dataclass(obj: object) -> TypeIs[DataclassInstance | type[DataclassInstance]]: ...
222
220
 
223
221
  class FrozenInstanceError(AttributeError): ...
224
222
 
@@ -79,6 +79,9 @@ class date:
79
79
  def isoformat(self) -> str: ...
80
80
  def timetuple(self) -> struct_time: ...
81
81
  def toordinal(self) -> int: ...
82
+ if sys.version_info >= (3, 13):
83
+ def __replace__(self, /, *, year: SupportsIndex = ..., month: SupportsIndex = ..., day: SupportsIndex = ...) -> Self: ...
84
+
82
85
  def replace(self, year: SupportsIndex = ..., month: SupportsIndex = ..., day: SupportsIndex = ...) -> Self: ...
83
86
  def __le__(self, value: date, /) -> bool: ...
84
87
  def __lt__(self, value: date, /) -> bool: ...
@@ -148,6 +151,19 @@ class time:
148
151
  def utcoffset(self) -> timedelta | None: ...
149
152
  def tzname(self) -> str | None: ...
150
153
  def dst(self) -> timedelta | None: ...
154
+ if sys.version_info >= (3, 13):
155
+ def __replace__(
156
+ self,
157
+ /,
158
+ *,
159
+ hour: SupportsIndex = ...,
160
+ minute: SupportsIndex = ...,
161
+ second: SupportsIndex = ...,
162
+ microsecond: SupportsIndex = ...,
163
+ tzinfo: _TzInfo | None = ...,
164
+ fold: int = ...,
165
+ ) -> Self: ...
166
+
151
167
  def replace(
152
168
  self,
153
169
  hour: SupportsIndex = ...,
@@ -263,6 +279,22 @@ class datetime(date):
263
279
  def date(self) -> _Date: ...
264
280
  def time(self) -> _Time: ...
265
281
  def timetz(self) -> _Time: ...
282
+ if sys.version_info >= (3, 13):
283
+ def __replace__(
284
+ self,
285
+ /,
286
+ *,
287
+ year: SupportsIndex = ...,
288
+ month: SupportsIndex = ...,
289
+ day: SupportsIndex = ...,
290
+ hour: SupportsIndex = ...,
291
+ minute: SupportsIndex = ...,
292
+ second: SupportsIndex = ...,
293
+ microsecond: SupportsIndex = ...,
294
+ tzinfo: _TzInfo | None = ...,
295
+ fold: int = ...,
296
+ ) -> Self: ...
297
+
266
298
  def replace(
267
299
  self,
268
300
  year: SupportsIndex = ...,
@@ -31,10 +31,12 @@ if sys.version_info >= (3, 11):
31
31
  "nonmember",
32
32
  "property",
33
33
  "verify",
34
+ "pickle_by_enum_name",
35
+ "pickle_by_global_name",
34
36
  ]
35
37
 
36
- if sys.version_info >= (3, 11):
37
- __all__ += ["pickle_by_enum_name", "pickle_by_global_name"]
38
+ if sys.version_info >= (3, 13):
39
+ __all__ += ["EnumDict"]
38
40
 
39
41
  _EnumMemberT = TypeVar("_EnumMemberT")
40
42
  _EnumerationT = TypeVar("_EnumerationT", bound=type[Enum])
@@ -74,6 +76,12 @@ class _EnumDict(dict[str, Any]):
74
76
  def update(self, members: SupportsKeysAndGetItem[str, Any], **more_members: Any) -> None: ...
75
77
  @overload
76
78
  def update(self, members: Iterable[tuple[str, Any]], **more_members: Any) -> None: ...
79
+ if sys.version_info >= (3, 13):
80
+ @property
81
+ def member_names(self) -> list[str]: ...
82
+
83
+ if sys.version_info >= (3, 13):
84
+ EnumDict = _EnumDict
77
85
 
78
86
  # Structurally: Iterable[T], Reversible[T], Container[T] where T is the enum itself
79
87
  class EnumMeta(type):
@@ -1,10 +1,13 @@
1
1
  import sys
2
2
  from _typeshed import StrOrBytesPath
3
- from collections.abc import Iterator
3
+ from collections.abc import Iterator, Sequence
4
4
  from typing import AnyStr
5
5
 
6
6
  __all__ = ["escape", "glob", "iglob"]
7
7
 
8
+ if sys.version_info >= (3, 13):
9
+ __all__ += ["translate"]
10
+
8
11
  def glob0(dirname: AnyStr, pattern: AnyStr) -> list[AnyStr]: ...
9
12
  def glob1(dirname: AnyStr, pattern: AnyStr) -> list[AnyStr]: ...
10
13
 
@@ -40,3 +43,8 @@ else:
40
43
 
41
44
  def escape(pathname: AnyStr) -> AnyStr: ...
42
45
  def has_magic(s: str | bytes) -> bool: ... # undocumented
46
+
47
+ if sys.version_info >= (3, 13):
48
+ def translate(
49
+ pat: str, *, recursive: bool = False, include_hidden: bool = False, seps: Sequence[str] | None = None
50
+ ) -> str: ...
@@ -240,7 +240,10 @@ class DistributionFinder(MetaPathFinder):
240
240
  class MetadataPathFinder(DistributionFinder):
241
241
  @classmethod
242
242
  def find_distributions(cls, context: DistributionFinder.Context = ...) -> Iterable[PathDistribution]: ...
243
- if sys.version_info >= (3, 10):
243
+ if sys.version_info >= (3, 11):
244
+ @classmethod
245
+ def invalidate_caches(cls) -> None: ...
246
+ elif sys.version_info >= (3, 10):
244
247
  # Yes, this is an instance method that has a parameter named "cls"
245
248
  def invalidate_caches(cls) -> None: ...
246
249
 
@@ -75,7 +75,7 @@ class IOBase(metaclass=abc.ABCMeta):
75
75
  def __del__(self) -> None: ...
76
76
  @property
77
77
  def closed(self) -> bool: ...
78
- def _checkClosed(self, msg: str | None = ...) -> None: ... # undocumented
78
+ def _checkClosed(self) -> None: ... # undocumented
79
79
 
80
80
  class RawIOBase(IOBase):
81
81
  def readall(self) -> bytes: ...
@@ -147,7 +147,11 @@ class _BaseV4:
147
147
  @property
148
148
  def max_prefixlen(self) -> Literal[32]: ...
149
149
 
150
- class IPv4Address(_BaseV4, _BaseAddress): ...
150
+ class IPv4Address(_BaseV4, _BaseAddress):
151
+ if sys.version_info >= (3, 13):
152
+ @property
153
+ def ipv6_mapped(self) -> IPv6Address: ...
154
+
151
155
  class IPv4Network(_BaseV4, _BaseNetwork[IPv4Address]): ...
152
156
 
153
157
  class IPv4Interface(IPv4Address, _BaseInterface[IPv4Address, IPv4Network]):
@@ -17,6 +17,10 @@ _T3 = TypeVar("_T3")
17
17
  _T4 = TypeVar("_T4")
18
18
  _T5 = TypeVar("_T5")
19
19
  _T6 = TypeVar("_T6")
20
+ _T7 = TypeVar("_T7")
21
+ _T8 = TypeVar("_T8")
22
+ _T9 = TypeVar("_T9")
23
+ _T10 = TypeVar("_T10")
20
24
 
21
25
  _Step: TypeAlias = SupportsFloat | SupportsInt | SupportsIndex | SupportsComplex
22
26
 
@@ -214,6 +218,60 @@ class product(Iterator[_T_co]):
214
218
  /,
215
219
  ) -> product[tuple[_T1, _T2, _T3, _T4, _T5, _T6]]: ...
216
220
  @overload
221
+ def __new__(
222
+ cls,
223
+ iter1: Iterable[_T1],
224
+ iter2: Iterable[_T2],
225
+ iter3: Iterable[_T3],
226
+ iter4: Iterable[_T4],
227
+ iter5: Iterable[_T5],
228
+ iter6: Iterable[_T6],
229
+ iter7: Iterable[_T7],
230
+ /,
231
+ ) -> product[tuple[_T1, _T2, _T3, _T4, _T5, _T6, _T7]]: ...
232
+ @overload
233
+ def __new__(
234
+ cls,
235
+ iter1: Iterable[_T1],
236
+ iter2: Iterable[_T2],
237
+ iter3: Iterable[_T3],
238
+ iter4: Iterable[_T4],
239
+ iter5: Iterable[_T5],
240
+ iter6: Iterable[_T6],
241
+ iter7: Iterable[_T7],
242
+ iter8: Iterable[_T8],
243
+ /,
244
+ ) -> product[tuple[_T1, _T2, _T3, _T4, _T5, _T6, _T7, _T8]]: ...
245
+ @overload
246
+ def __new__(
247
+ cls,
248
+ iter1: Iterable[_T1],
249
+ iter2: Iterable[_T2],
250
+ iter3: Iterable[_T3],
251
+ iter4: Iterable[_T4],
252
+ iter5: Iterable[_T5],
253
+ iter6: Iterable[_T6],
254
+ iter7: Iterable[_T7],
255
+ iter8: Iterable[_T8],
256
+ iter9: Iterable[_T9],
257
+ /,
258
+ ) -> product[tuple[_T1, _T2, _T3, _T4, _T5, _T6, _T7, _T8, _T9]]: ...
259
+ @overload
260
+ def __new__(
261
+ cls,
262
+ iter1: Iterable[_T1],
263
+ iter2: Iterable[_T2],
264
+ iter3: Iterable[_T3],
265
+ iter4: Iterable[_T4],
266
+ iter5: Iterable[_T5],
267
+ iter6: Iterable[_T6],
268
+ iter7: Iterable[_T7],
269
+ iter8: Iterable[_T8],
270
+ iter9: Iterable[_T9],
271
+ iter10: Iterable[_T10],
272
+ /,
273
+ ) -> product[tuple[_T1, _T2, _T3, _T4, _T5, _T6, _T7, _T8, _T9, _T10]]: ...
274
+ @overload
217
275
  def __new__(cls, *iterables: Iterable[_T1], repeat: int = 1) -> product[tuple[_T1, ...]]: ...
218
276
  def __iter__(self) -> Self: ...
219
277
  def __next__(self) -> _T_co: ...
@@ -10,8 +10,8 @@ INFINITY: float
10
10
 
11
11
  def py_encode_basestring(s: str) -> str: ... # undocumented
12
12
  def py_encode_basestring_ascii(s: str) -> str: ... # undocumented
13
- def encode_basestring(s: str) -> str: ... # undocumented
14
- def encode_basestring_ascii(s: str) -> str: ... # undocumented
13
+ def encode_basestring(s: str, /) -> str: ... # undocumented
14
+ def encode_basestring_ascii(s: str, /) -> str: ... # undocumented
15
15
 
16
16
  class JSONEncoder:
17
17
  item_separator: str
@@ -96,7 +96,6 @@ __all__ = [
96
96
  "getpreferredencoding",
97
97
  "Error",
98
98
  "setlocale",
99
- "resetlocale",
100
99
  "localeconv",
101
100
  "strcoll",
102
101
  "strxfrm",
@@ -121,6 +120,9 @@ if sys.version_info >= (3, 11):
121
120
  if sys.version_info < (3, 12):
122
121
  __all__ += ["format"]
123
122
 
123
+ if sys.version_info < (3, 13):
124
+ __all__ += ["resetlocale"]
125
+
124
126
  if sys.platform != "win32":
125
127
  __all__ += ["LC_MESSAGES"]
126
128
 
@@ -133,7 +135,9 @@ def getlocale(category: int = ...) -> tuple[_str | None, _str | None]: ...
133
135
  def setlocale(category: int, locale: _str | Iterable[_str | None] | None = None) -> _str: ...
134
136
  def getpreferredencoding(do_setlocale: bool = True) -> _str: ...
135
137
  def normalize(localename: _str) -> _str: ...
136
- def resetlocale(category: int = ...) -> None: ...
138
+
139
+ if sys.version_info < (3, 13):
140
+ def resetlocale(category: int = ...) -> None: ...
137
141
 
138
142
  if sys.version_info < (3, 12):
139
143
  def format(
@@ -469,7 +469,7 @@ class LoggerAdapter(Generic[_L]):
469
469
  def getEffectiveLevel(self) -> int: ...
470
470
  def setLevel(self, level: _Level) -> None: ...
471
471
  def hasHandlers(self) -> bool: ...
472
- if sys.version_info >= (3, 13):
472
+ if sys.version_info >= (3, 11):
473
473
  def _log(
474
474
  self,
475
475
  level: int,
@@ -46,7 +46,7 @@ class BaseRotatingHandler(FileHandler):
46
46
  def rotate(self, source: str, dest: str) -> None: ...
47
47
 
48
48
  class RotatingFileHandler(BaseRotatingHandler):
49
- maxBytes: str # undocumented
49
+ maxBytes: int # undocumented
50
50
  backupCount: int # undocumented
51
51
  if sys.version_info >= (3, 9):
52
52
  def __init__(
@@ -125,4 +125,4 @@ if sys.version_info >= (3, 9):
125
125
  def ulp(x: _SupportsFloatOrIndex, /) -> float: ...
126
126
 
127
127
  if sys.version_info >= (3, 13):
128
- def fma(x: _SupportsFloatOrIndex, y: _SupportsFloatOrIndex, z: _SupportsFloatOrIndex) -> float: ...
128
+ def fma(x: _SupportsFloatOrIndex, y: _SupportsFloatOrIndex, z: _SupportsFloatOrIndex, /) -> float: ...
@@ -1,3 +1,4 @@
1
+ import sys
1
2
  from _typeshed import StrPath
2
3
  from collections.abc import Sequence
3
4
  from typing import IO
@@ -18,6 +19,9 @@ __all__ = [
18
19
  "common_types",
19
20
  ]
20
21
 
22
+ if sys.version_info >= (3, 13):
23
+ __all__ += ["guess_file_type"]
24
+
21
25
  def guess_type(url: StrPath, strict: bool = True) -> tuple[str | None, str | None]: ...
22
26
  def guess_all_extensions(type: str, strict: bool = True) -> list[str]: ...
23
27
  def guess_extension(type: str, strict: bool = True) -> str | None: ...
@@ -25,6 +29,9 @@ def init(files: Sequence[str] | None = None) -> None: ...
25
29
  def read_mime_types(file: str) -> dict[str, str] | None: ...
26
30
  def add_type(type: str, ext: str, strict: bool = True) -> None: ...
27
31
 
32
+ if sys.version_info >= (3, 13):
33
+ def guess_file_type(path: StrPath, *, strict: bool = True) -> tuple[str | None, str | None]: ...
34
+
28
35
  inited: bool
29
36
  knownfiles: list[str]
30
37
  suffix_map: dict[str, str]
@@ -44,3 +51,5 @@ class MimeTypes:
44
51
  def read(self, filename: str, strict: bool = True) -> None: ...
45
52
  def readfp(self, fp: IO[str], strict: bool = True) -> None: ...
46
53
  def read_windows_registry(self, strict: bool = True) -> None: ...
54
+ if sys.version_info >= (3, 13):
55
+ def guess_file_type(self, path: StrPath, *, strict: bool = True) -> tuple[str | None, str | None]: ...
@@ -76,6 +76,8 @@ class mmap(Iterable[int], Sized):
76
76
  def __exit__(self, *args: Unused) -> None: ...
77
77
  def __buffer__(self, flags: int, /) -> memoryview: ...
78
78
  def __release_buffer__(self, buffer: memoryview, /) -> None: ...
79
+ if sys.version_info >= (3, 13):
80
+ def seekable(self) -> bool: ...
79
81
 
80
82
  if sys.platform != "win32":
81
83
  MADV_NORMAL: int
@@ -83,6 +83,8 @@ class DictProxy(BaseProxy, MutableMapping[_KT, _VT]):
83
83
  def keys(self) -> list[_KT]: ... # type: ignore[override]
84
84
  def items(self) -> list[tuple[_KT, _VT]]: ... # type: ignore[override]
85
85
  def values(self) -> list[_VT]: ... # type: ignore[override]
86
+ if sys.version_info >= (3, 13):
87
+ def __class_getitem__(cls, args: Any, /) -> Any: ...
86
88
 
87
89
  class BaseListProxy(BaseProxy, MutableSequence[_T]):
88
90
  __builtins__: ClassVar[dict[str, Any]]
@@ -117,6 +119,8 @@ class BaseListProxy(BaseProxy, MutableSequence[_T]):
117
119
  class ListProxy(BaseListProxy[_T]):
118
120
  def __iadd__(self, value: Iterable[_T], /) -> Self: ... # type: ignore[override]
119
121
  def __imul__(self, value: SupportsIndex, /) -> Self: ... # type: ignore[override]
122
+ if sys.version_info >= (3, 13):
123
+ def __class_getitem__(cls, args: Any, /) -> Any: ...
120
124
 
121
125
  # Returned by BaseManager.get_server()
122
126
  class Server:
@@ -11,7 +11,11 @@ __all__ = ["SharedMemory", "ShareableList"]
11
11
  _SLT = TypeVar("_SLT", int, float, bool, str, bytes, None)
12
12
 
13
13
  class SharedMemory:
14
- def __init__(self, name: str | None = None, create: bool = False, size: int = 0) -> None: ...
14
+ if sys.version_info >= (3, 13):
15
+ def __init__(self, name: str | None = None, create: bool = False, size: int = 0, *, track: bool = True) -> None: ...
16
+ else:
17
+ def __init__(self, name: str | None = None, create: bool = False, size: int = 0) -> None: ...
18
+
15
19
  @property
16
20
  def buf(self) -> memoryview: ...
17
21
  @property