basedpyright 1.25.0 → 1.26.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 (445) 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/README.md +1 -1
  6. package/dist/typeshed-fallback/commit.txt +1 -1
  7. package/dist/typeshed-fallback/stdlib/VERSIONS +1 -0
  8. package/dist/typeshed-fallback/stdlib/_asyncio.pyi +3 -3
  9. package/dist/typeshed-fallback/stdlib/_blake2.pyi +12 -12
  10. package/dist/typeshed-fallback/stdlib/_bz2.pyi +7 -1
  11. package/dist/typeshed-fallback/stdlib/_collections_abc.pyi +3 -0
  12. package/dist/typeshed-fallback/stdlib/_contextvars.pyi +5 -3
  13. package/dist/typeshed-fallback/stdlib/_csv.pyi +4 -4
  14. package/dist/typeshed-fallback/stdlib/_ctypes.pyi +7 -7
  15. package/dist/typeshed-fallback/stdlib/_curses.pyi +3 -3
  16. package/dist/typeshed-fallback/stdlib/_dummy_threading.pyi +19 -127
  17. package/dist/typeshed-fallback/stdlib/_frozen_importlib.pyi +2 -1
  18. package/dist/typeshed-fallback/stdlib/_interpqueues.pyi +9 -6
  19. package/dist/typeshed-fallback/stdlib/_interpreters.pyi +3 -1
  20. package/dist/typeshed-fallback/stdlib/_io.pyi +1 -1
  21. package/dist/typeshed-fallback/stdlib/_json.pyi +5 -4
  22. package/dist/typeshed-fallback/stdlib/_lzma.pyi +16 -5
  23. package/dist/typeshed-fallback/stdlib/_pickle.pyi +286 -0
  24. package/dist/typeshed-fallback/stdlib/_sitebuiltins.pyi +3 -2
  25. package/dist/typeshed-fallback/stdlib/_socket.pyi +3 -1
  26. package/dist/typeshed-fallback/stdlib/_ssl.pyi +3 -4
  27. package/dist/typeshed-fallback/stdlib/_thread.pyi +87 -39
  28. package/dist/typeshed-fallback/stdlib/_tkinter.pyi +35 -20
  29. package/dist/typeshed-fallback/stdlib/_weakrefset.pyi +2 -1
  30. package/dist/typeshed-fallback/stdlib/argparse.pyi +27 -20
  31. package/dist/typeshed-fallback/stdlib/array.pyi +13 -10
  32. package/dist/typeshed-fallback/stdlib/ast.pyi +24 -7
  33. package/dist/typeshed-fallback/stdlib/asyncio/__init__.pyi +1300 -0
  34. package/dist/typeshed-fallback/stdlib/asyncio/base_events.pyi +2 -0
  35. package/dist/typeshed-fallback/stdlib/asyncio/coroutines.pyi +1 -0
  36. package/dist/typeshed-fallback/stdlib/asyncio/events.pyi +1 -0
  37. package/dist/typeshed-fallback/stdlib/asyncio/exceptions.pyi +1 -0
  38. package/dist/typeshed-fallback/stdlib/asyncio/futures.pyi +1 -0
  39. package/dist/typeshed-fallback/stdlib/asyncio/locks.pyi +1 -0
  40. package/dist/typeshed-fallback/stdlib/asyncio/proactor_events.pyi +1 -0
  41. package/dist/typeshed-fallback/stdlib/asyncio/protocols.pyi +1 -0
  42. package/dist/typeshed-fallback/stdlib/asyncio/queues.pyi +1 -0
  43. package/dist/typeshed-fallback/stdlib/asyncio/runners.pyi +1 -0
  44. package/dist/typeshed-fallback/stdlib/asyncio/selector_events.pyi +2 -0
  45. package/dist/typeshed-fallback/stdlib/asyncio/streams.pyi +1 -0
  46. package/dist/typeshed-fallback/stdlib/asyncio/subprocess.pyi +1 -0
  47. package/dist/typeshed-fallback/stdlib/asyncio/taskgroups.pyi +1 -0
  48. package/dist/typeshed-fallback/stdlib/asyncio/tasks.pyi +1 -0
  49. package/dist/typeshed-fallback/stdlib/asyncio/threads.pyi +1 -0
  50. package/dist/typeshed-fallback/stdlib/asyncio/timeouts.pyi +1 -0
  51. package/dist/typeshed-fallback/stdlib/asyncio/transports.pyi +1 -0
  52. package/dist/typeshed-fallback/stdlib/asyncio/unix_events.pyi +3 -0
  53. package/dist/typeshed-fallback/stdlib/asyncio/windows_events.pyi +1 -0
  54. package/dist/typeshed-fallback/stdlib/builtins.pyi +21 -15
  55. package/dist/typeshed-fallback/stdlib/codecs.pyi +2 -0
  56. package/dist/typeshed-fallback/stdlib/codeop.pyi +5 -1
  57. package/dist/typeshed-fallback/stdlib/collections/__init__.pyi +3 -1
  58. package/dist/typeshed-fallback/stdlib/concurrent/futures/process.pyi +12 -2
  59. package/dist/typeshed-fallback/stdlib/contextlib.pyi +21 -22
  60. package/dist/typeshed-fallback/stdlib/ctypes/__init__.pyi +69 -18
  61. package/dist/typeshed-fallback/stdlib/dataclasses.pyi +11 -3
  62. package/dist/typeshed-fallback/stdlib/datetime.pyi +1 -1
  63. package/dist/typeshed-fallback/stdlib/decimal.pyi +0 -1
  64. package/dist/typeshed-fallback/stdlib/email/charset.pyi +2 -1
  65. package/dist/typeshed-fallback/stdlib/email/header.pyi +2 -1
  66. package/dist/typeshed-fallback/stdlib/email/headerregistry.pyi +2 -0
  67. package/dist/typeshed-fallback/stdlib/fractions.pyi +3 -3
  68. package/dist/typeshed-fallback/stdlib/gzip.pyi +5 -5
  69. package/dist/typeshed-fallback/stdlib/http/__init__.pyi +15 -6
  70. package/dist/typeshed-fallback/stdlib/http/client.pyi +80 -58
  71. package/dist/typeshed-fallback/stdlib/inspect.pyi +5 -5
  72. package/dist/typeshed-fallback/stdlib/ipaddress.pyi +5 -3
  73. package/dist/typeshed-fallback/stdlib/itertools.pyi +12 -12
  74. package/dist/typeshed-fallback/stdlib/json/scanner.pyi +4 -0
  75. package/dist/typeshed-fallback/stdlib/lib2to3/pgen2/pgen.pyi +2 -1
  76. package/dist/typeshed-fallback/stdlib/lib2to3/pytree.pyi +2 -1
  77. package/dist/typeshed-fallback/stdlib/mmap.pyi +6 -6
  78. package/dist/typeshed-fallback/stdlib/multiprocessing/managers.pyi +63 -17
  79. package/dist/typeshed-fallback/stdlib/multiprocessing/pool.pyi +3 -0
  80. package/dist/typeshed-fallback/stdlib/multiprocessing/reduction.pyi +1 -1
  81. package/dist/typeshed-fallback/stdlib/multiprocessing/synchronize.pyi +1 -0
  82. package/dist/typeshed-fallback/stdlib/numbers.pyi +2 -1
  83. package/dist/typeshed-fallback/stdlib/operator.pyi +2 -2
  84. package/dist/typeshed-fallback/stdlib/optparse.pyi +89 -32
  85. package/dist/typeshed-fallback/stdlib/os/__init__.pyi +1 -0
  86. package/dist/typeshed-fallback/stdlib/parser.pyi +2 -1
  87. package/dist/typeshed-fallback/stdlib/pickle.pyi +51 -266
  88. package/dist/typeshed-fallback/stdlib/pickletools.pyi +8 -1
  89. package/dist/typeshed-fallback/stdlib/plistlib.pyi +2 -1
  90. package/dist/typeshed-fallback/stdlib/sched.pyi +3 -2
  91. package/dist/typeshed-fallback/stdlib/select.pyi +19 -13
  92. package/dist/typeshed-fallback/stdlib/selectors.pyi +5 -3
  93. package/dist/typeshed-fallback/stdlib/signal.pyi +47 -47
  94. package/dist/typeshed-fallback/stdlib/socket.pyi +8 -6
  95. package/dist/typeshed-fallback/stdlib/sqlite3/__init__.pyi +1 -1
  96. package/dist/typeshed-fallback/stdlib/ssl.pyi +4 -0
  97. package/dist/typeshed-fallback/stdlib/sys/__init__.pyi +9 -3
  98. package/dist/typeshed-fallback/stdlib/tarfile.pyi +24 -10
  99. package/dist/typeshed-fallback/stdlib/telnetlib.pyi +2 -2
  100. package/dist/typeshed-fallback/stdlib/threading.pyi +6 -53
  101. package/dist/typeshed-fallback/stdlib/tkinter/__init__.pyi +193 -3
  102. package/dist/typeshed-fallback/stdlib/tkinter/filedialog.pyi +9 -9
  103. package/dist/typeshed-fallback/stdlib/tkinter/font.pyi +5 -4
  104. package/dist/typeshed-fallback/stdlib/token.pyi +1 -1
  105. package/dist/typeshed-fallback/stdlib/tokenize.pyi +3 -4
  106. package/dist/typeshed-fallback/stdlib/traceback.pyi +17 -4
  107. package/dist/typeshed-fallback/stdlib/types.pyi +45 -10
  108. package/dist/typeshed-fallback/stdlib/typing.pyi +45 -47
  109. package/dist/typeshed-fallback/stdlib/typing_extensions.pyi +53 -12
  110. package/dist/typeshed-fallback/stdlib/unittest/mock.pyi +3 -1
  111. package/dist/typeshed-fallback/stdlib/unittest/runner.pyi +11 -12
  112. package/dist/typeshed-fallback/stdlib/unittest/suite.pyi +2 -0
  113. package/dist/typeshed-fallback/stdlib/weakref.pyi +19 -5
  114. package/dist/typeshed-fallback/stdlib/xml/dom/minidom.pyi +5 -4
  115. package/dist/typeshed-fallback/stdlib/xml/sax/expatreader.pyi +53 -0
  116. package/dist/typeshed-fallback/stdlib/xmlrpc/client.pyi +4 -3
  117. package/dist/typeshed-fallback/stdlib/xxlimited.pyi +4 -2
  118. package/dist/typeshed-fallback/stdlib/zipfile/_path/glob.pyi +22 -0
  119. package/dist/typeshed-fallback/stdlib/zoneinfo/__init__.pyi +1 -1
  120. package/dist/typeshed-fallback/stubs/Authlib/METADATA.toml +7 -0
  121. package/dist/typeshed-fallback/stubs/Authlib/authlib/__init__.pyi +4 -0
  122. package/dist/typeshed-fallback/stubs/Authlib/authlib/common/encoding.pyi +10 -0
  123. package/dist/typeshed-fallback/stubs/Authlib/authlib/common/errors.pyi +26 -0
  124. package/dist/typeshed-fallback/stubs/Authlib/authlib/common/security.pyi +4 -0
  125. package/dist/typeshed-fallback/stubs/Authlib/authlib/common/urls.pyi +19 -0
  126. package/dist/typeshed-fallback/stubs/Authlib/authlib/consts.pyi +8 -0
  127. package/dist/typeshed-fallback/stubs/Authlib/authlib/deprecate.pyi +7 -0
  128. package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/__init__.pyi +0 -0
  129. package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/base_client/__init__.pyi +29 -0
  130. package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/base_client/async_app.pyi +16 -0
  131. package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/base_client/async_openid.pyi +8 -0
  132. package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/base_client/errors.pyi +23 -0
  133. package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/base_client/framework_integration.pyi +13 -0
  134. package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/base_client/registry.pyi +21 -0
  135. package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/base_client/sync_app.pyi +93 -0
  136. package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/base_client/sync_openid.pyi +7 -0
  137. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/__init__.pyi +44 -0
  138. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/drafts/__init__.pyi +3 -0
  139. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/drafts/_jwe_algorithms.pyi +27 -0
  140. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/drafts/_jwe_enc_cryptodome.pyi +13 -0
  141. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/drafts/_jwe_enc_cryptography.pyi +13 -0
  142. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/errors.pyi +72 -0
  143. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/jwk.pyi +4 -0
  144. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7515/__init__.pyi +4 -0
  145. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7515/jws.pyi +14 -0
  146. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7515/models.pyi +25 -0
  147. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7516/__init__.pyi +9 -0
  148. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7516/jwe.pyi +23 -0
  149. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7516/models.pyi +56 -0
  150. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7517/__init__.pyi +7 -0
  151. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7517/_cryptography_key.pyi +5 -0
  152. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7517/asymmetric_key.pyi +39 -0
  153. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7517/base_key.pyi +28 -0
  154. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7517/jwk.pyi +13 -0
  155. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7517/key_set.pyi +10 -0
  156. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7518/__init__.pyi +20 -0
  157. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7518/ec_key.pyi +24 -0
  158. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7518/jwe_algs.pyi +64 -0
  159. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7518/jwe_encs.pyi +27 -0
  160. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7518/jwe_zips.pyi +9 -0
  161. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7518/jws_algs.pyi +63 -0
  162. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7518/oct_key.pyi +23 -0
  163. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7518/rsa_key.pyi +23 -0
  164. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7518/util.pyi +2 -0
  165. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7519/__init__.pyi +4 -0
  166. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7519/claims.pyi +21 -0
  167. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7519/jwt.pyi +21 -0
  168. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc8037/__init__.pyi +4 -0
  169. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc8037/jws_eddsa.pyi +10 -0
  170. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc8037/okp_key.pyi +24 -0
  171. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/util.pyi +3 -0
  172. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/__init__.pyi +33 -0
  173. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/client.pyi +39 -0
  174. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/errors.pyi +1 -0
  175. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/__init__.pyi +35 -0
  176. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/authorization_server.pyi +21 -0
  177. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/base_server.pyi +12 -0
  178. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/client_auth.pyi +41 -0
  179. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/errors.pyi +56 -0
  180. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/models.pyi +21 -0
  181. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/parameters.pyi +5 -0
  182. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/resource_protector.pyi +5 -0
  183. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/rsa.pyi +2 -0
  184. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/signature.pyi +22 -0
  185. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/util.pyi +2 -0
  186. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/wrapper.pyi +33 -0
  187. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/__init__.pyi +22 -0
  188. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/auth.pyi +24 -0
  189. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/base.pyi +20 -0
  190. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/client.pyi +96 -0
  191. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/__init__.pyi +76 -0
  192. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/authenticate_client.pyi +13 -0
  193. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/authorization_server.pyi +46 -0
  194. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/errors.pyi +92 -0
  195. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/grants/__init__.pyi +21 -0
  196. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/grants/authorization_code.pyi +24 -0
  197. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/grants/base.pyi +55 -0
  198. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/grants/client_credentials.pyi +6 -0
  199. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/grants/implicit.pyi +12 -0
  200. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/grants/refresh_token.pyi +15 -0
  201. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/grants/resource_owner_password_credentials.pyi +7 -0
  202. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/models.pyi +22 -0
  203. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/parameters.pyi +14 -0
  204. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/requests.pyi +48 -0
  205. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/resource_protector.pyi +19 -0
  206. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/token_endpoint.pyi +13 -0
  207. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/util.pyi +5 -0
  208. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/wrappers.pyi +5 -0
  209. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6750/__init__.pyi +15 -0
  210. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6750/errors.pyi +27 -0
  211. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6750/parameters.pyi +6 -0
  212. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6750/token.pyi +41 -0
  213. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6750/validator.pyi +6 -0
  214. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7009/__init__.pyi +4 -0
  215. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7009/parameters.pyi +5 -0
  216. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7009/revocation.pyi +9 -0
  217. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7521/__init__.pyi +3 -0
  218. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7521/client.pyi +39 -0
  219. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7523/__init__.pyi +18 -0
  220. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7523/assertion.pyi +19 -0
  221. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7523/auth.pyi +22 -0
  222. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7523/client.pyi +16 -0
  223. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7523/jwt_bearer.pyi +28 -0
  224. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7523/token.pyi +30 -0
  225. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7523/validator.pyi +24 -0
  226. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7591/__init__.pyi +17 -0
  227. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7591/claims.pyi +22 -0
  228. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7591/endpoint.pyi +24 -0
  229. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7591/errors.pyi +13 -0
  230. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7592/__init__.pyi +3 -0
  231. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7592/endpoint.pyi +26 -0
  232. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7636/__init__.pyi +3 -0
  233. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7636/challenge.pyi +20 -0
  234. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7662/__init__.pyi +5 -0
  235. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7662/introspection.pyi +11 -0
  236. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7662/models.pyi +8 -0
  237. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7662/token_validator.pyi +7 -0
  238. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc8414/__init__.pyi +4 -0
  239. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc8414/models.pyi +40 -0
  240. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc8414/well_known.pyi +1 -0
  241. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc8628/__init__.pyi +19 -0
  242. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc8628/device_code.pyi +15 -0
  243. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc8628/endpoint.pyi +21 -0
  244. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc8628/errors.pyi +10 -0
  245. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc8628/models.pyi +13 -0
  246. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc8693/__init__.pyi +0 -0
  247. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc9068/__init__.pyi +6 -0
  248. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc9068/claims.pyi +16 -0
  249. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc9068/introspection.pyi +13 -0
  250. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc9068/revocation.pyi +9 -0
  251. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc9068/token.pyi +23 -0
  252. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc9068/token_validator.pyi +20 -0
  253. package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/__init__.pyi +0 -0
  254. package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/core/__init__.pyi +29 -0
  255. package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/core/claims.pyi +37 -0
  256. package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/core/errors.pyi +28 -0
  257. package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/core/grants/__init__.pyi +5 -0
  258. package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/core/grants/code.pyi +17 -0
  259. package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/core/grants/hybrid.pyi +13 -0
  260. package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/core/grants/implicit.pyi +16 -0
  261. package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/core/grants/util.pyi +18 -0
  262. package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/core/models.pyi +5 -0
  263. package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/core/util.pyi +1 -0
  264. package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/discovery/__init__.pyi +4 -0
  265. package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/discovery/models.pyi +36 -0
  266. package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/discovery/well_known.pyi +1 -0
  267. package/dist/typeshed-fallback/stubs/Flask-Migrate/METADATA.toml +1 -1
  268. package/dist/typeshed-fallback/stubs/Flask-Migrate/flask_migrate/__init__.pyi +2 -4
  269. package/dist/typeshed-fallback/stubs/Flask-SocketIO/METADATA.toml +1 -1
  270. package/dist/typeshed-fallback/stubs/Flask-SocketIO/flask_socketio/__init__.pyi +30 -4
  271. package/dist/typeshed-fallback/stubs/Markdown/markdown/core.pyi +2 -13
  272. package/dist/typeshed-fallback/stubs/PyAutoGUI/pyautogui/__init__.pyi +2 -2
  273. package/dist/typeshed-fallback/stubs/PyYAML/yaml/constructor.pyi +1 -1
  274. package/dist/typeshed-fallback/stubs/Pygments/METADATA.toml +1 -1
  275. package/dist/typeshed-fallback/stubs/WebOb/webob/exc.pyi +1 -1
  276. package/dist/typeshed-fallback/stubs/click-log/METADATA.toml +3 -0
  277. package/dist/typeshed-fallback/stubs/click-log/click_log/__init__.pyi +4 -0
  278. package/dist/typeshed-fallback/stubs/click-log/click_log/core.pyi +15 -0
  279. package/dist/typeshed-fallback/stubs/click-log/click_log/options.pyi +12 -0
  280. package/dist/typeshed-fallback/stubs/click-web/METADATA.toml +3 -0
  281. package/dist/typeshed-fallback/stubs/click-web/click_web/__init__.pyi +16 -0
  282. package/dist/typeshed-fallback/stubs/click-web/click_web/exceptions.pyi +2 -0
  283. package/dist/typeshed-fallback/stubs/click-web/click_web/resources/cmd_exec.pyi +79 -0
  284. package/dist/typeshed-fallback/stubs/click-web/click_web/resources/cmd_form.pyi +6 -0
  285. package/dist/typeshed-fallback/stubs/click-web/click_web/resources/index.pyi +6 -0
  286. package/dist/typeshed-fallback/stubs/click-web/click_web/resources/input_fields.pyi +49 -0
  287. package/dist/typeshed-fallback/stubs/click-web/click_web/web_click_types.pyi +18 -0
  288. package/dist/typeshed-fallback/stubs/croniter/METADATA.toml +1 -1
  289. package/dist/typeshed-fallback/stubs/croniter/croniter/croniter.pyi +7 -0
  290. package/dist/typeshed-fallback/stubs/django-import-export/METADATA.toml +6 -0
  291. package/dist/typeshed-fallback/stubs/django-import-export/import_export/__init__.pyi +1 -0
  292. package/dist/typeshed-fallback/stubs/django-import-export/import_export/admin.pyi +114 -0
  293. package/dist/typeshed-fallback/stubs/django-import-export/import_export/exceptions.pyi +2 -0
  294. package/dist/typeshed-fallback/stubs/django-import-export/import_export/fields.pyi +34 -0
  295. package/dist/typeshed-fallback/stubs/django-import-export/import_export/formats/__init__.pyi +0 -0
  296. package/dist/typeshed-fallback/stubs/django-import-export/import_export/formats/base_formats.pyi +57 -0
  297. package/dist/typeshed-fallback/stubs/django-import-export/import_export/forms.pyi +31 -0
  298. package/dist/typeshed-fallback/stubs/django-import-export/import_export/instance_loaders.pyi +23 -0
  299. package/dist/typeshed-fallback/stubs/django-import-export/import_export/mixins.pyi +66 -0
  300. package/dist/typeshed-fallback/stubs/django-import-export/import_export/resources.pyi +232 -0
  301. package/dist/typeshed-fallback/stubs/django-import-export/import_export/results.pyi +73 -0
  302. package/dist/typeshed-fallback/stubs/django-import-export/import_export/signals.pyi +4 -0
  303. package/dist/typeshed-fallback/stubs/django-import-export/import_export/templatetags/__init__.pyi +0 -0
  304. package/dist/typeshed-fallback/stubs/django-import-export/import_export/templatetags/import_export_tags.pyi +8 -0
  305. package/dist/typeshed-fallback/stubs/django-import-export/import_export/tmp_storages.pyi +34 -0
  306. package/dist/typeshed-fallback/stubs/django-import-export/import_export/utils.pyi +18 -0
  307. package/dist/typeshed-fallback/stubs/django-import-export/import_export/widgets.pyi +66 -0
  308. package/dist/typeshed-fallback/stubs/docker/docker/models/containers.pyi +2 -2
  309. package/dist/typeshed-fallback/stubs/flake8-bugbear/METADATA.toml +1 -1
  310. package/dist/typeshed-fallback/stubs/fpdf2/METADATA.toml +1 -1
  311. package/dist/typeshed-fallback/stubs/fpdf2/fpdf/__init__.pyi +2 -0
  312. package/dist/typeshed-fallback/stubs/fpdf2/fpdf/annotations.pyi +2 -2
  313. package/dist/typeshed-fallback/stubs/fpdf2/fpdf/enums.pyi +50 -4
  314. package/dist/typeshed-fallback/stubs/fpdf2/fpdf/fonts.pyi +3 -3
  315. package/dist/typeshed-fallback/stubs/fpdf2/fpdf/fpdf.pyi +53 -18
  316. package/dist/typeshed-fallback/stubs/fpdf2/fpdf/html.pyi +2 -0
  317. package/dist/typeshed-fallback/stubs/fpdf2/fpdf/image_parsing.pyi +10 -2
  318. package/dist/typeshed-fallback/stubs/fpdf2/fpdf/line_break.pyi +9 -3
  319. package/dist/typeshed-fallback/stubs/fpdf2/fpdf/outline.pyi +21 -0
  320. package/dist/typeshed-fallback/stubs/fpdf2/fpdf/output.pyi +19 -0
  321. package/dist/typeshed-fallback/stubs/fpdf2/fpdf/prefs.pyi +38 -4
  322. package/dist/typeshed-fallback/stubs/fpdf2/fpdf/table.pyi +13 -1
  323. package/dist/typeshed-fallback/stubs/fpdf2/fpdf/util.pyi +1 -0
  324. package/dist/typeshed-fallback/stubs/gdb/METADATA.toml +1 -1
  325. package/dist/typeshed-fallback/stubs/gdb/gdb/__init__.pyi +126 -9
  326. package/dist/typeshed-fallback/stubs/gdb/gdb/unwinder.pyi +2 -3
  327. package/dist/typeshed-fallback/stubs/gevent/gevent/select.pyi +7 -2
  328. package/dist/typeshed-fallback/stubs/hdbcli/METADATA.toml +1 -1
  329. package/dist/typeshed-fallback/stubs/ibm-db/METADATA.toml +1 -1
  330. package/dist/typeshed-fallback/stubs/ibm-db/ibm_db.pyi +11 -1
  331. package/dist/typeshed-fallback/stubs/icalendar/METADATA.toml +1 -5
  332. package/dist/typeshed-fallback/stubs/icalendar/icalendar/timezone/tzp.pyi +1 -1
  333. package/dist/typeshed-fallback/stubs/jsonschema/METADATA.toml +0 -2
  334. package/dist/typeshed-fallback/stubs/jwcrypto/jwcrypto/jwk.pyi +4 -4
  335. package/dist/typeshed-fallback/stubs/lupa/METADATA.toml +1 -1
  336. package/dist/typeshed-fallback/stubs/m3u8/m3u8/httpclient.pyi +1 -1
  337. package/dist/typeshed-fallback/stubs/nanoleafapi/METADATA.toml +2 -0
  338. package/dist/typeshed-fallback/stubs/nanoleafapi/nanoleafapi/__init__.pyi +16 -0
  339. package/dist/typeshed-fallback/stubs/nanoleafapi/nanoleafapi/digital_twin.pyi +12 -0
  340. package/dist/typeshed-fallback/stubs/nanoleafapi/nanoleafapi/discovery.pyi +1 -0
  341. package/dist/typeshed-fallback/stubs/nanoleafapi/nanoleafapi/nanoleaf.pyi +68 -0
  342. package/dist/typeshed-fallback/stubs/networkx/networkx/classes/multidigraph.pyi +1 -1
  343. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/styles/cell_style.pyi +1 -1
  344. package/dist/typeshed-fallback/stubs/peewee/peewee.pyi +4 -4
  345. package/dist/typeshed-fallback/stubs/pexpect/pexpect/pty_spawn.pyi +1 -1
  346. package/dist/typeshed-fallback/stubs/pika/pika/credentials.pyi +10 -7
  347. package/dist/typeshed-fallback/stubs/polib/polib.pyi +3 -2
  348. package/dist/typeshed-fallback/stubs/protobuf/METADATA.toml +2 -2
  349. package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/api_pb2.pyi +1 -1
  350. package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/descriptor_pb2.pyi +4 -8
  351. package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/runtime_version.pyi +23 -0
  352. package/dist/typeshed-fallback/stubs/pycocotools/METADATA.toml +1 -0
  353. package/dist/typeshed-fallback/stubs/pycocotools/pycocotools/coco.pyi +6 -11
  354. package/dist/typeshed-fallback/stubs/pycocotools/pycocotools/cocoeval.pyi +16 -30
  355. package/dist/typeshed-fallback/stubs/pycocotools/pycocotools/mask.pyi +7 -9
  356. package/dist/typeshed-fallback/stubs/pycurl/METADATA.toml +1 -1
  357. package/dist/typeshed-fallback/stubs/pycurl/pycurl.pyi +33 -32
  358. package/dist/typeshed-fallback/stubs/pynput/pynput/keyboard/_base.pyi +65 -65
  359. package/dist/typeshed-fallback/stubs/python-dateutil/dateutil/relativedelta.pyi +3 -11
  360. package/dist/typeshed-fallback/stubs/pywin32/_win32typing.pyi +3 -3
  361. package/dist/typeshed-fallback/stubs/qrbill/qrbill/bill.pyi +2 -2
  362. package/dist/typeshed-fallback/stubs/requests-oauthlib/requests_oauthlib/oauth1_auth.pyi +1 -1
  363. package/dist/typeshed-fallback/stubs/seaborn/METADATA.toml +1 -11
  364. package/dist/typeshed-fallback/stubs/seaborn/seaborn/algorithms.pyi +13 -13
  365. package/dist/typeshed-fallback/stubs/setuptools/METADATA.toml +1 -1
  366. package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/cmd.pyi +5 -0
  367. package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/command/bdist.pyi +1 -1
  368. package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/command/install_data.pyi +2 -1
  369. package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/dist.pyi +21 -21
  370. package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/extension.pyi +3 -4
  371. package/dist/typeshed-fallback/stubs/setuptools/setuptools/extension.pyi +2 -3
  372. package/dist/typeshed-fallback/stubs/shapely/shapely/_enum.pyi +1 -1
  373. package/dist/typeshed-fallback/stubs/six/METADATA.toml +1 -1
  374. package/dist/typeshed-fallback/stubs/tabulate/tabulate/__init__.pyi +2 -1
  375. package/dist/typeshed-fallback/stubs/tqdm/tqdm/asyncio.pyi +2 -2
  376. package/dist/typeshed-fallback/stubs/vobject/METADATA.toml +2 -2
  377. package/dist/typeshed-fallback/stubs/vobject/vobject/__init__.pyi +2 -4
  378. package/dist/typeshed-fallback/stubs/vobject/vobject/base.pyi +26 -24
  379. package/dist/typeshed-fallback/stubs/vobject/vobject/behavior.pyi +5 -4
  380. package/dist/typeshed-fallback/stubs/vobject/vobject/icalendar.pyi +28 -37
  381. package/dist/typeshed-fallback/stubs/vobject/vobject/vcard.pyi +20 -20
  382. package/dist/typeshed-fallback/stubs/vobject/vobject/win32tz.pyi +22 -22
  383. package/package.json +1 -1
  384. package/dist/typeshed-fallback/stubs/python-gflags/METADATA.toml +0 -2
  385. package/dist/typeshed-fallback/stubs/python-gflags/gflags.pyi +0 -309
  386. package/dist/typeshed-fallback/stubs/redis/METADATA.toml +0 -12
  387. package/dist/typeshed-fallback/stubs/redis/redis/__init__.pyi +0 -72
  388. package/dist/typeshed-fallback/stubs/redis/redis/asyncio/__init__.pyi +0 -64
  389. package/dist/typeshed-fallback/stubs/redis/redis/asyncio/client.pyi +0 -1091
  390. package/dist/typeshed-fallback/stubs/redis/redis/asyncio/cluster.pyi +0 -229
  391. package/dist/typeshed-fallback/stubs/redis/redis/asyncio/connection.pyi +0 -363
  392. package/dist/typeshed-fallback/stubs/redis/redis/asyncio/lock.pyi +0 -51
  393. package/dist/typeshed-fallback/stubs/redis/redis/asyncio/parser.pyi +0 -9
  394. package/dist/typeshed-fallback/stubs/redis/redis/asyncio/retry.pyi +0 -12
  395. package/dist/typeshed-fallback/stubs/redis/redis/asyncio/sentinel.pyi +0 -162
  396. package/dist/typeshed-fallback/stubs/redis/redis/asyncio/utils.pyi +0 -15
  397. package/dist/typeshed-fallback/stubs/redis/redis/backoff.pyi +0 -31
  398. package/dist/typeshed-fallback/stubs/redis/redis/client.pyi +0 -817
  399. package/dist/typeshed-fallback/stubs/redis/redis/cluster.pyi +0 -265
  400. package/dist/typeshed-fallback/stubs/redis/redis/commands/__init__.pyi +0 -17
  401. package/dist/typeshed-fallback/stubs/redis/redis/commands/bf/__init__.pyi +0 -58
  402. package/dist/typeshed-fallback/stubs/redis/redis/commands/bf/commands.pyi +0 -112
  403. package/dist/typeshed-fallback/stubs/redis/redis/commands/bf/info.pyi +0 -43
  404. package/dist/typeshed-fallback/stubs/redis/redis/commands/cluster.pyi +0 -60
  405. package/dist/typeshed-fallback/stubs/redis/redis/commands/core.pyi +0 -1743
  406. package/dist/typeshed-fallback/stubs/redis/redis/commands/graph/__init__.pyi +0 -26
  407. package/dist/typeshed-fallback/stubs/redis/redis/commands/graph/commands.pyi +0 -25
  408. package/dist/typeshed-fallback/stubs/redis/redis/commands/graph/edge.pyi +0 -14
  409. package/dist/typeshed-fallback/stubs/redis/redis/commands/graph/exceptions.pyi +0 -5
  410. package/dist/typeshed-fallback/stubs/redis/redis/commands/graph/node.pyi +0 -18
  411. package/dist/typeshed-fallback/stubs/redis/redis/commands/graph/path.pyi +0 -18
  412. package/dist/typeshed-fallback/stubs/redis/redis/commands/graph/query_result.pyi +0 -74
  413. package/dist/typeshed-fallback/stubs/redis/redis/commands/helpers.pyi +0 -10
  414. package/dist/typeshed-fallback/stubs/redis/redis/commands/json/__init__.pyi +0 -15
  415. package/dist/typeshed-fallback/stubs/redis/redis/commands/json/commands.pyi +0 -32
  416. package/dist/typeshed-fallback/stubs/redis/redis/commands/json/decoders.pyi +0 -4
  417. package/dist/typeshed-fallback/stubs/redis/redis/commands/json/path.pyi +0 -5
  418. package/dist/typeshed-fallback/stubs/redis/redis/commands/parser.pyi +0 -8
  419. package/dist/typeshed-fallback/stubs/redis/redis/commands/redismodules.pyi +0 -14
  420. package/dist/typeshed-fallback/stubs/redis/redis/commands/search/__init__.pyi +0 -22
  421. package/dist/typeshed-fallback/stubs/redis/redis/commands/search/aggregation.pyi +0 -53
  422. package/dist/typeshed-fallback/stubs/redis/redis/commands/search/commands.pyi +0 -111
  423. package/dist/typeshed-fallback/stubs/redis/redis/commands/search/query.pyi +0 -52
  424. package/dist/typeshed-fallback/stubs/redis/redis/commands/search/result.pyi +0 -7
  425. package/dist/typeshed-fallback/stubs/redis/redis/commands/sentinel.pyi +0 -17
  426. package/dist/typeshed-fallback/stubs/redis/redis/commands/timeseries/__init__.pyi +0 -14
  427. package/dist/typeshed-fallback/stubs/redis/redis/commands/timeseries/commands.pyi +0 -160
  428. package/dist/typeshed-fallback/stubs/redis/redis/commands/timeseries/info.pyi +0 -18
  429. package/dist/typeshed-fallback/stubs/redis/redis/commands/timeseries/utils.pyi +0 -5
  430. package/dist/typeshed-fallback/stubs/redis/redis/connection.pyi +0 -289
  431. package/dist/typeshed-fallback/stubs/redis/redis/crc.pyi +0 -5
  432. package/dist/typeshed-fallback/stubs/redis/redis/credentials.pyi +0 -11
  433. package/dist/typeshed-fallback/stubs/redis/redis/exceptions.pyi +0 -42
  434. package/dist/typeshed-fallback/stubs/redis/redis/lock.pyi +0 -56
  435. package/dist/typeshed-fallback/stubs/redis/redis/ocsp.pyi +0 -21
  436. package/dist/typeshed-fallback/stubs/redis/redis/retry.pyi +0 -11
  437. package/dist/typeshed-fallback/stubs/redis/redis/sentinel.pyi +0 -62
  438. package/dist/typeshed-fallback/stubs/redis/redis/typing.pyi +0 -34
  439. package/dist/typeshed-fallback/stubs/redis/redis/utils.pyi +0 -22
  440. package/dist/typeshed-fallback/stubs/setuptools/setuptools/compat/py310.pyi +0 -9
  441. package/dist/typeshed-fallback/stubs/setuptools/setuptools/compat/py311.pyi +0 -4
  442. package/dist/typeshed-fallback/stubs/setuptools/setuptools/compat/py312.pyi +0 -3
  443. package/dist/typeshed-fallback/stubs/setuptools/setuptools/compat/py39.pyi +0 -7
  444. /package/dist/typeshed-fallback/stdlib/zipfile/{_path.pyi → _path/__init__.pyi} +0 -0
  445. /package/dist/typeshed-fallback/stubs/{setuptools/setuptools/compat → Authlib/authlib/common}/__init__.pyi +0 -0
@@ -21,7 +21,7 @@ the project the stubs are for, but instead report them here to typeshed.**
21
21
  Further documentation on stub files, typeshed, and Python's typing system in
22
22
  general, can also be found at https://typing.readthedocs.io/en/latest/.
23
23
 
24
- Typeshed supports Python versions 3.8 to 3.13.
24
+ Typeshed supports Python versions 3.9 to 3.13.
25
25
 
26
26
  ## Using
27
27
 
@@ -1 +1 @@
1
- 2ccc53bb6716463680fcf1d204642c46299b7f88
1
+ c2e4ef3ae495272f902071dcf4a0f7701c00c4a2
@@ -57,6 +57,7 @@ _msi: 3.0-3.12
57
57
  _multibytecodec: 3.0-
58
58
  _operator: 3.4-
59
59
  _osx_support: 3.0-
60
+ _pickle: 3.0-
60
61
  _posixsubprocess: 3.2-
61
62
  _py_abc: 3.7-
62
63
  _pydecimal: 3.5-
@@ -154,7 +154,7 @@ class Task(Future[_T_co]): # type: ignore[type-var] # pyright: ignore[reportIn
154
154
  self,
155
155
  coro: _TaskCompatibleCoro[_T_co],
156
156
  *,
157
- loop: AbstractEventLoop = ...,
157
+ loop: AbstractEventLoop | None = None,
158
158
  name: str | None = ...,
159
159
  context: Context | None = None,
160
160
  eager_start: bool = False,
@@ -164,13 +164,13 @@ class Task(Future[_T_co]): # type: ignore[type-var] # pyright: ignore[reportIn
164
164
  self,
165
165
  coro: _TaskCompatibleCoro[_T_co],
166
166
  *,
167
- loop: AbstractEventLoop = ...,
167
+ loop: AbstractEventLoop | None = None,
168
168
  name: str | None = ...,
169
169
  context: Context | None = None,
170
170
  ) -> None: ...
171
171
  else:
172
172
  def __init__(
173
- self, coro: _TaskCompatibleCoro[_T_co], *, loop: AbstractEventLoop = ..., name: str | None = ...
173
+ self, coro: _TaskCompatibleCoro[_T_co], *, loop: AbstractEventLoop | None = None, name: str | None = ...
174
174
  ) -> None: ...
175
175
 
176
176
  if sys.version_info >= (3, 12):
@@ -25,8 +25,8 @@ class blake2b:
25
25
  digest_size: int
26
26
  name: str
27
27
  if sys.version_info >= (3, 9):
28
- def __init__(
29
- self,
28
+ def __new__(
29
+ cls,
30
30
  data: ReadableBuffer = b"",
31
31
  /,
32
32
  *,
@@ -42,10 +42,10 @@ class blake2b:
42
42
  inner_size: int = 0,
43
43
  last_node: bool = False,
44
44
  usedforsecurity: bool = True,
45
- ) -> None: ...
45
+ ) -> Self: ...
46
46
  else:
47
- def __init__(
48
- self,
47
+ def __new__(
48
+ cls,
49
49
  data: ReadableBuffer = b"",
50
50
  /,
51
51
  *,
@@ -60,7 +60,7 @@ class blake2b:
60
60
  node_depth: int = 0,
61
61
  inner_size: int = 0,
62
62
  last_node: bool = False,
63
- ) -> None: ...
63
+ ) -> Self: ...
64
64
 
65
65
  def copy(self) -> Self:
66
66
  """Return a copy of the hash object."""
@@ -86,8 +86,8 @@ class blake2s:
86
86
  digest_size: int
87
87
  name: str
88
88
  if sys.version_info >= (3, 9):
89
- def __init__(
90
- self,
89
+ def __new__(
90
+ cls,
91
91
  data: ReadableBuffer = b"",
92
92
  /,
93
93
  *,
@@ -103,10 +103,10 @@ class blake2s:
103
103
  inner_size: int = 0,
104
104
  last_node: bool = False,
105
105
  usedforsecurity: bool = True,
106
- ) -> None: ...
106
+ ) -> Self: ...
107
107
  else:
108
- def __init__(
109
- self,
108
+ def __new__(
109
+ cls,
110
110
  data: ReadableBuffer = b"",
111
111
  /,
112
112
  *,
@@ -121,7 +121,7 @@ class blake2s:
121
121
  node_depth: int = 0,
122
122
  inner_size: int = 0,
123
123
  last_node: bool = False,
124
- ) -> None: ...
124
+ ) -> Self: ...
125
125
 
126
126
  def copy(self) -> Self:
127
127
  """Return a copy of the hash object."""
@@ -1,5 +1,7 @@
1
+ import sys
1
2
  from _typeshed import ReadableBuffer
2
3
  from typing import final
4
+ from typing_extensions import Self
3
5
 
4
6
  @final
5
7
  class BZ2Compressor:
@@ -11,7 +13,11 @@ class BZ2Compressor:
11
13
 
12
14
  For one-shot compression, use the compress() function instead.
13
15
  """
14
- def __init__(self, compresslevel: int = 9) -> None: ...
16
+ if sys.version_info >= (3, 12):
17
+ def __new__(cls, compresslevel: int = 9, /) -> Self: ...
18
+ else:
19
+ def __init__(self, compresslevel: int = 9, /) -> None: ...
20
+
15
21
  def compress(self, data: ReadableBuffer, /) -> bytes:
16
22
  """
17
23
  Provide data to the compressor object.
@@ -8,6 +8,7 @@ from typing import ( # noqa: Y022,Y038
8
8
  AsyncIterator as AsyncIterator,
9
9
  Awaitable as Awaitable,
10
10
  Callable as Callable,
11
+ ClassVar,
11
12
  Collection as Collection,
12
13
  Container as Container,
13
14
  Coroutine as Coroutine,
@@ -78,6 +79,7 @@ class dict_keys(KeysView[_KT_co], Generic[_KT_co, _VT_co]): # undocumented
78
79
  def __reversed__(self) -> Iterator[_KT_co]:
79
80
  """Return a reverse iterator over the dict keys."""
80
81
  ...
82
+ __hash__: ClassVar[None] # type: ignore[assignment]
81
83
  if sys.version_info >= (3, 13):
82
84
  def isdisjoint(self, other: Iterable[_KT_co], /) -> bool:
83
85
  """Return True if the view and the given iterable have a null intersection."""
@@ -107,6 +109,7 @@ class dict_items(ItemsView[_KT_co, _VT_co]): # undocumented
107
109
  def __reversed__(self) -> Iterator[tuple[_KT_co, _VT_co]]:
108
110
  """Return a reverse iterator over the dict items."""
109
111
  ...
112
+ __hash__: ClassVar[None] # type: ignore[assignment]
110
113
  if sys.version_info >= (3, 13):
111
114
  def isdisjoint(self, other: Iterable[tuple[_KT_co, _VT_co]], /) -> bool:
112
115
  """Return True if the view and the given iterable have a null intersection."""
@@ -3,7 +3,7 @@
3
3
  import sys
4
4
  from collections.abc import Callable, Iterator, Mapping
5
5
  from typing import Any, ClassVar, Generic, TypeVar, final, overload
6
- from typing_extensions import ParamSpec
6
+ from typing_extensions import ParamSpec, Self
7
7
 
8
8
  if sys.version_info >= (3, 9):
9
9
  from types import GenericAlias
@@ -15,9 +15,9 @@ _P = ParamSpec("_P")
15
15
  @final
16
16
  class ContextVar(Generic[_T]):
17
17
  @overload
18
- def __init__(self, name: str) -> None: ...
18
+ def __new__(cls, name: str) -> Self: ...
19
19
  @overload
20
- def __init__(self, name: str, *, default: _T) -> None: ...
20
+ def __new__(cls, name: str, *, default: _T) -> Self: ...
21
21
  def __hash__(self) -> int:
22
22
  """Return hash(self)."""
23
23
  ...
@@ -89,6 +89,7 @@ class Token(Generic[_T]):
89
89
  @property
90
90
  def old_value(self) -> Any: ... # returns either _T or MISSING, but that's hard to express
91
91
  MISSING: ClassVar[object]
92
+ __hash__: ClassVar[None] # type: ignore[assignment]
92
93
  if sys.version_info >= (3, 9):
93
94
  def __class_getitem__(cls, item: Any, /) -> GenericAlias:
94
95
  """See PEP 585"""
@@ -132,6 +133,7 @@ class Context(Mapping[ContextVar[Any], Any]):
132
133
  def copy(self) -> Context:
133
134
  """Return a shallow copy of the context object."""
134
135
  ...
136
+ __hash__: ClassVar[None] # type: ignore[assignment]
135
137
  def __getitem__(self, key: ContextVar[_T], /) -> _T:
136
138
  """Return self[key]."""
137
139
  ...
@@ -39,8 +39,8 @@ class Dialect:
39
39
  lineterminator: str
40
40
  quoting: _QuotingType
41
41
  strict: bool
42
- def __init__(
43
- self,
42
+ def __new__(
43
+ cls,
44
44
  dialect: _DialectLike | None = ...,
45
45
  delimiter: str = ",",
46
46
  doublequote: bool = True,
@@ -50,7 +50,7 @@ class Dialect:
50
50
  quoting: _QuotingType = 0,
51
51
  skipinitialspace: bool = False,
52
52
  strict: bool = False,
53
- ) -> None: ...
53
+ ) -> Self: ...
54
54
 
55
55
  if sys.version_info >= (3, 10):
56
56
  # This class calls itself _csv.reader.
@@ -183,7 +183,7 @@ def reader(
183
183
  ...
184
184
  def register_dialect(
185
185
  name: str,
186
- dialect: type[Dialect] = ...,
186
+ dialect: type[Dialect | csv.Dialect] = ...,
187
187
  *,
188
188
  delimiter: str = ",",
189
189
  quotechar: str | None = '"',
@@ -220,18 +220,18 @@ class CFuncPtr(_PointerLike, _CData, metaclass=_PyCFuncPtrType):
220
220
  # Abstract attribute that must be defined on subclasses
221
221
  _flags_: ClassVar[int]
222
222
  @overload
223
- def __init__(self) -> None: ...
223
+ def __new__(cls) -> Self: ...
224
224
  @overload
225
- def __init__(self, address: int, /) -> None: ...
225
+ def __new__(cls, address: int, /) -> Self: ...
226
226
  @overload
227
- def __init__(self, callable: Callable[..., Any], /) -> None: ...
227
+ def __new__(cls, callable: Callable[..., Any], /) -> Self: ...
228
228
  @overload
229
- def __init__(self, func_spec: tuple[str | int, CDLL], paramflags: tuple[_PF, ...] | None = ..., /) -> None: ...
229
+ def __new__(cls, func_spec: tuple[str | int, CDLL], paramflags: tuple[_PF, ...] | None = ..., /) -> Self: ...
230
230
  if sys.platform == "win32":
231
231
  @overload
232
- def __init__(
233
- self, vtbl_index: int, name: str, paramflags: tuple[_PF, ...] | None = ..., iid: _CData | _CDataType | None = ..., /
234
- ) -> None: ...
232
+ def __new__(
233
+ cls, vtbl_index: int, name: str, paramflags: tuple[_PF, ...] | None = ..., iid: _CData | _CDataType | None = ..., /
234
+ ) -> Self: ...
235
235
 
236
236
  def __call__(self, *args: Any, **kwargs: Any) -> Any:
237
237
  """Call self as a function."""
@@ -1,7 +1,7 @@
1
1
  import sys
2
- from _typeshed import ReadOnlyBuffer, SupportsRead
2
+ from _typeshed import ReadOnlyBuffer, SupportsRead, SupportsWrite
3
3
  from curses import _ncurses_version
4
- from typing import IO, Any, final, overload
4
+ from typing import Any, final, overload
5
5
  from typing_extensions import TypeAlias
6
6
 
7
7
  # NOTE: This module is ordinarily only available on Unix, but the windows-curses
@@ -1678,7 +1678,7 @@ class window: # undocumented
1678
1678
  window.
1679
1679
  """
1680
1680
  ...
1681
- def putwin(self, file: IO[Any], /) -> None:
1681
+ def putwin(self, file: SupportsWrite[bytes], /) -> None:
1682
1682
  """
1683
1683
  Write all data associated with the window into the provided file object.
1684
1684
 
@@ -1,11 +1,23 @@
1
- import sys
2
- from _thread import _excepthook, _ExceptHookArgs
1
+ from _threading_local import local as local
3
2
  from _typeshed import ProfileFunction, TraceFunction
4
- from collections.abc import Callable, Iterable, Mapping
5
- from types import TracebackType
6
- from typing import Any, TypeVar
7
-
8
- _T = TypeVar("_T")
3
+ from threading import (
4
+ TIMEOUT_MAX as TIMEOUT_MAX,
5
+ Barrier as Barrier,
6
+ BoundedSemaphore as BoundedSemaphore,
7
+ BrokenBarrierError as BrokenBarrierError,
8
+ Condition as Condition,
9
+ Event as Event,
10
+ ExceptHookArgs as ExceptHookArgs,
11
+ Lock as Lock,
12
+ RLock as RLock,
13
+ Semaphore as Semaphore,
14
+ Thread as Thread,
15
+ ThreadError as ThreadError,
16
+ Timer as Timer,
17
+ _DummyThread as _DummyThread,
18
+ _RLock as _RLock,
19
+ excepthook as excepthook,
20
+ )
9
21
 
10
22
  __all__ = [
11
23
  "get_ident",
@@ -42,123 +54,3 @@ def main_thread() -> Thread: ...
42
54
  def settrace(func: TraceFunction) -> None: ...
43
55
  def setprofile(func: ProfileFunction | None) -> None: ...
44
56
  def stack_size(size: int | None = None) -> int: ...
45
-
46
- TIMEOUT_MAX: float
47
-
48
- class ThreadError(Exception): ...
49
-
50
- class local:
51
- def __getattribute__(self, name: str) -> Any: ...
52
- def __setattr__(self, name: str, value: Any) -> None: ...
53
- def __delattr__(self, name: str) -> None: ...
54
-
55
- class Thread:
56
- name: str
57
- daemon: bool
58
- @property
59
- def ident(self) -> int | None: ...
60
- def __init__(
61
- self,
62
- group: None = None,
63
- target: Callable[..., object] | None = None,
64
- name: str | None = None,
65
- args: Iterable[Any] = (),
66
- kwargs: Mapping[str, Any] | None = None,
67
- *,
68
- daemon: bool | None = None,
69
- ) -> None: ...
70
- def start(self) -> None: ...
71
- def run(self) -> None: ...
72
- def join(self, timeout: float | None = None) -> None: ...
73
- def getName(self) -> str: ...
74
- def setName(self, name: str) -> None: ...
75
- @property
76
- def native_id(self) -> int | None: ... # only available on some platforms
77
- def is_alive(self) -> bool: ...
78
- if sys.version_info < (3, 9):
79
- def isAlive(self) -> bool: ...
80
-
81
- def isDaemon(self) -> bool: ...
82
- def setDaemon(self, daemonic: bool) -> None: ...
83
-
84
- class _DummyThread(Thread): ...
85
-
86
- class Lock:
87
- def __enter__(self) -> bool: ...
88
- def __exit__(
89
- self, exc_type: type[BaseException] | None, exc_val: BaseException | None, exc_tb: TracebackType | None
90
- ) -> bool | None: ...
91
- def acquire(self, blocking: bool = ..., timeout: float = ...) -> bool: ...
92
- def release(self) -> None: ...
93
- def locked(self) -> bool: ...
94
-
95
- class _RLock:
96
- def __enter__(self) -> bool: ...
97
- def __exit__(
98
- self, exc_type: type[BaseException] | None, exc_val: BaseException | None, exc_tb: TracebackType | None
99
- ) -> bool | None: ...
100
- def acquire(self, blocking: bool = True, timeout: float = -1) -> bool: ...
101
- def release(self) -> None: ...
102
-
103
- RLock = _RLock
104
-
105
- class Condition:
106
- def __init__(self, lock: Lock | _RLock | None = None) -> None: ...
107
- def __enter__(self) -> bool: ...
108
- def __exit__(
109
- self, exc_type: type[BaseException] | None, exc_val: BaseException | None, exc_tb: TracebackType | None
110
- ) -> bool | None: ...
111
- def acquire(self, blocking: bool = ..., timeout: float = ...) -> bool: ...
112
- def release(self) -> None: ...
113
- def wait(self, timeout: float | None = None) -> bool: ...
114
- def wait_for(self, predicate: Callable[[], _T], timeout: float | None = None) -> _T: ...
115
- def notify(self, n: int = 1) -> None: ...
116
- def notify_all(self) -> None: ...
117
- def notifyAll(self) -> None: ...
118
-
119
- class Semaphore:
120
- def __init__(self, value: int = 1) -> None: ...
121
- def __exit__(
122
- self, exc_type: type[BaseException] | None, exc_val: BaseException | None, exc_tb: TracebackType | None
123
- ) -> bool | None: ...
124
- def acquire(self, blocking: bool = True, timeout: float | None = None) -> bool: ...
125
- def __enter__(self, blocking: bool = True, timeout: float | None = None) -> bool: ...
126
- if sys.version_info >= (3, 9):
127
- def release(self, n: int = ...) -> None: ...
128
- else:
129
- def release(self) -> None: ...
130
-
131
- class BoundedSemaphore(Semaphore): ...
132
-
133
- class Event:
134
- def is_set(self) -> bool: ...
135
- def set(self) -> None: ...
136
- def clear(self) -> None: ...
137
- def wait(self, timeout: float | None = None) -> bool: ...
138
-
139
- excepthook = _excepthook
140
- ExceptHookArgs = _ExceptHookArgs
141
-
142
- class Timer(Thread):
143
- def __init__(
144
- self,
145
- interval: float,
146
- function: Callable[..., object],
147
- args: Iterable[Any] | None = None,
148
- kwargs: Mapping[str, Any] | None = None,
149
- ) -> None: ...
150
- def cancel(self) -> None: ...
151
-
152
- class Barrier:
153
- @property
154
- def parties(self) -> int: ...
155
- @property
156
- def n_waiting(self) -> int: ...
157
- @property
158
- def broken(self) -> bool: ...
159
- def __init__(self, parties: int, action: Callable[[], None] | None = None, timeout: float | None = None) -> None: ...
160
- def wait(self, timeout: float | None = None) -> int: ...
161
- def reset(self) -> None: ...
162
- def abort(self) -> None: ...
163
-
164
- class BrokenBarrierError(RuntimeError): ...
@@ -5,7 +5,7 @@ import types
5
5
  from _typeshed.importlib import LoaderProtocol
6
6
  from collections.abc import Mapping, Sequence
7
7
  from types import ModuleType
8
- from typing import Any
8
+ from typing import Any, ClassVar
9
9
 
10
10
  # Signature of `builtins.__import__` should be kept identical to `importlib.__import__`
11
11
  def __import__(
@@ -45,6 +45,7 @@ class ModuleSpec:
45
45
  ...
46
46
  has_location: bool
47
47
  def __eq__(self, other: object) -> bool: ...
48
+ __hash__: ClassVar[None] # type: ignore[assignment]
48
49
 
49
50
  class BuiltinImporter(importlib.abc.MetaPathFinder, importlib.abc.InspectLoader):
50
51
  # MetaPathFinder
@@ -3,7 +3,10 @@ This module provides primitive operations to manage Python interpreters.
3
3
  The 'interpreters' module provides a more convenient interface.
4
4
  """
5
5
 
6
- from typing import Any, SupportsIndex
6
+ from typing import Any, Literal, SupportsIndex
7
+ from typing_extensions import TypeAlias
8
+
9
+ _UnboundOp: TypeAlias = Literal[1, 2, 3]
7
10
 
8
11
  class QueueError(RuntimeError):
9
12
  """Indicates that a queue-related error happened."""
@@ -18,7 +21,7 @@ def bind(qid: SupportsIndex) -> None:
18
21
  The queue is not destroyed until there are no references left.
19
22
  """
20
23
  ...
21
- def create(maxsize: SupportsIndex, fmt: SupportsIndex) -> int:
24
+ def create(maxsize: SupportsIndex, fmt: SupportsIndex, unboundop: _UnboundOp) -> int:
22
25
  """
23
26
  create(maxsize, fmt, unboundop) -> qid
24
27
 
@@ -37,7 +40,7 @@ def destroy(qid: SupportsIndex) -> None:
37
40
  will behave as though it never existed.
38
41
  """
39
42
  ...
40
- def get(qid: SupportsIndex) -> tuple[Any, int]:
43
+ def get(qid: SupportsIndex) -> tuple[Any, int, _UnboundOp | None]:
41
44
  """
42
45
  get(qid) -> (obj, fmt)
43
46
 
@@ -61,7 +64,7 @@ def get_maxsize(qid: SupportsIndex) -> int:
61
64
  Return the maximum number of items in the queue.
62
65
  """
63
66
  ...
64
- def get_queue_defaults(qid: SupportsIndex) -> tuple[int]:
67
+ def get_queue_defaults(qid: SupportsIndex) -> tuple[int, _UnboundOp]:
65
68
  """
66
69
  get_queue_defaults(qid)
67
70
 
@@ -75,7 +78,7 @@ def is_full(qid: SupportsIndex) -> bool:
75
78
  Return true if the queue has a maxsize and has reached it.
76
79
  """
77
80
  ...
78
- def list_all() -> list[tuple[int, int]]:
81
+ def list_all() -> list[tuple[int, int, _UnboundOp]]:
79
82
  """
80
83
  list_all() -> [(qid, fmt)]
81
84
 
@@ -83,7 +86,7 @@ def list_all() -> list[tuple[int, int]]:
83
86
  Each corresponding default format is also included.
84
87
  """
85
88
  ...
86
- def put(qid: SupportsIndex, obj: Any, fmt: SupportsIndex) -> None:
89
+ def put(qid: SupportsIndex, obj: Any, fmt: SupportsIndex, unboundop: _UnboundOp) -> None:
87
90
  """
88
91
  put(qid, obj, fmt)
89
92
 
@@ -104,7 +104,9 @@ def whence(id: SupportsIndex) -> int:
104
104
  Return an identifier for where the interpreter was created.
105
105
  """
106
106
  ...
107
- def exec(id: SupportsIndex, code: str, shared: bool | None = None, *, restrict: bool = False) -> None:
107
+ def exec(
108
+ id: SupportsIndex, code: str | types.CodeType | Callable[[], object], shared: bool | None = None, *, restrict: bool = False
109
+ ) -> None | types.SimpleNamespace:
108
110
  """
109
111
  exec(id, code, shared=None, *, restrict=False)
110
112
 
@@ -441,7 +441,7 @@ class BufferedRWPair(BufferedIOBase, _BufferedIOBase):
441
441
  writeable respectively. If the buffer_size is omitted it defaults to
442
442
  DEFAULT_BUFFER_SIZE.
443
443
  """
444
- def __init__(self, reader: RawIOBase, writer: RawIOBase, buffer_size: int = 8192) -> None: ...
444
+ def __init__(self, reader: RawIOBase, writer: RawIOBase, buffer_size: int = 8192, /) -> None: ...
445
445
  def peek(self, size: int = 0, /) -> bytes: ...
446
446
 
447
447
  class _TextIOBase(_IOBase):
@@ -2,6 +2,7 @@
2
2
 
3
3
  from collections.abc import Callable
4
4
  from typing import Any, final
5
+ from typing_extensions import Self
5
6
 
6
7
  @final
7
8
  class make_encoder:
@@ -38,8 +39,8 @@ class make_encoder:
38
39
  def item_separator(self) -> str:
39
40
  """item_separator"""
40
41
  ...
41
- def __init__(
42
- self,
42
+ def __new__(
43
+ cls,
43
44
  markers: dict[int, Any] | None,
44
45
  default: Callable[[Any], Any],
45
46
  encoder: Callable[[str], str],
@@ -49,7 +50,7 @@ class make_encoder:
49
50
  sort_keys: bool,
50
51
  skipkeys: bool,
51
52
  allow_nan: bool,
52
- ) -> None: ...
53
+ ) -> Self: ...
53
54
  def __call__(self, obj: object, _current_indent_level: int) -> Any:
54
55
  """Call self as a function."""
55
56
  ...
@@ -64,7 +65,7 @@ class make_scanner:
64
65
  parse_float: Any
65
66
  strict: bool
66
67
  # TODO: 'context' needs the attrs above (ducktype), but not __call__.
67
- def __init__(self, context: make_scanner) -> None: ...
68
+ def __new__(cls, context: make_scanner) -> Self: ...
68
69
  def __call__(self, string: str, index: int) -> tuple[Any, int]:
69
70
  """Call self as a function."""
70
71
  ...
@@ -1,7 +1,8 @@
1
+ import sys
1
2
  from _typeshed import ReadableBuffer
2
3
  from collections.abc import Mapping, Sequence
3
4
  from typing import Any, Final, final
4
- from typing_extensions import TypeAlias
5
+ from typing_extensions import Self, TypeAlias
5
6
 
6
7
  _FilterChain: TypeAlias = Sequence[Mapping[str, Any]]
7
8
 
@@ -56,7 +57,11 @@ class LZMADecompressor:
56
57
 
57
58
  For one-shot decompression, use the decompress() function instead.
58
59
  """
59
- def __init__(self, format: int | None = ..., memlimit: int | None = ..., filters: _FilterChain | None = ...) -> None: ...
60
+ if sys.version_info >= (3, 12):
61
+ def __new__(cls, format: int | None = ..., memlimit: int | None = ..., filters: _FilterChain | None = ...) -> Self: ...
62
+ else:
63
+ def __init__(self, format: int | None = ..., memlimit: int | None = ..., filters: _FilterChain | None = ...) -> None: ...
64
+
60
65
  def decompress(self, data: ReadableBuffer, max_length: int = -1) -> bytes:
61
66
  """
62
67
  Decompress *data*, returning uncompressed data as bytes.
@@ -122,9 +127,15 @@ class LZMACompressor:
122
127
 
123
128
  For one-shot compression, use the compress() function instead.
124
129
  """
125
- def __init__(
126
- self, format: int | None = ..., check: int = ..., preset: int | None = ..., filters: _FilterChain | None = ...
127
- ) -> None: ...
130
+ if sys.version_info >= (3, 12):
131
+ def __new__(
132
+ cls, format: int | None = ..., check: int = ..., preset: int | None = ..., filters: _FilterChain | None = ...
133
+ ) -> Self: ...
134
+ else:
135
+ def __init__(
136
+ self, format: int | None = ..., check: int = ..., preset: int | None = ..., filters: _FilterChain | None = ...
137
+ ) -> None: ...
138
+
128
139
  def compress(self, data: ReadableBuffer, /) -> bytes:
129
140
  """
130
141
  Provide data to the compressor object.