basedpyright 1.29.2 → 1.29.3

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 (407) 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/VERSIONS +1 -0
  7. package/dist/typeshed-fallback/stdlib/_asyncio.pyi +5 -0
  8. package/dist/typeshed-fallback/stdlib/_ctypes.pyi +2 -0
  9. package/dist/typeshed-fallback/stdlib/_curses.pyi +3 -0
  10. package/dist/typeshed-fallback/stdlib/_hashlib.pyi +88 -44
  11. package/dist/typeshed-fallback/stdlib/_heapq.pyi +9 -1
  12. package/dist/typeshed-fallback/stdlib/_imp.pyi +2 -0
  13. package/dist/typeshed-fallback/stdlib/_posixsubprocess.pyi +77 -50
  14. package/dist/typeshed-fallback/stdlib/_socket.pyi +2 -1
  15. package/dist/typeshed-fallback/stdlib/_thread.pyi +5 -0
  16. package/dist/typeshed-fallback/stdlib/_tkinter.pyi +1 -1
  17. package/dist/typeshed-fallback/stdlib/_typeshed/__init__.pyi +0 -3
  18. package/dist/typeshed-fallback/stdlib/_zstd.pyi +96 -0
  19. package/dist/typeshed-fallback/stdlib/argparse.pyi +1 -7
  20. package/dist/typeshed-fallback/stdlib/ast.pyi +24 -12
  21. package/dist/typeshed-fallback/stdlib/asyncio/__init__.pyi +10 -6
  22. package/dist/typeshed-fallback/stdlib/asyncio/events.pyi +30 -8
  23. package/dist/typeshed-fallback/stdlib/asyncio/futures.pyi +2 -4
  24. package/dist/typeshed-fallback/stdlib/asyncio/tasks.pyi +19 -7
  25. package/dist/typeshed-fallback/stdlib/asyncio/unix_events.pyi +18 -13
  26. package/dist/typeshed-fallback/stdlib/asyncio/windows_events.pyi +29 -9
  27. package/dist/typeshed-fallback/stdlib/builtins.pyi +65 -28
  28. package/dist/typeshed-fallback/stdlib/bz2.pyi +6 -5
  29. package/dist/typeshed-fallback/stdlib/compression/_common/_streams.pyi +2 -1
  30. package/dist/typeshed-fallback/stdlib/compression/zstd/__init__.pyi +87 -0
  31. package/dist/typeshed-fallback/stdlib/compression/zstd/_zstdfile.pyi +117 -0
  32. package/dist/typeshed-fallback/stdlib/concurrent/futures/interpreter.pyi +1 -3
  33. package/dist/typeshed-fallback/stdlib/ctypes/__init__.pyi +14 -6
  34. package/dist/typeshed-fallback/stdlib/ctypes/util.pyi +3 -0
  35. package/dist/typeshed-fallback/stdlib/ctypes/wintypes.pyi +9 -0
  36. package/dist/typeshed-fallback/stdlib/dataclasses.pyi +50 -5
  37. package/dist/typeshed-fallback/stdlib/email/_header_value_parser.pyi +2 -5
  38. package/dist/typeshed-fallback/stdlib/enum.pyi +5 -1
  39. package/dist/typeshed-fallback/stdlib/errno.pyi +3 -0
  40. package/dist/typeshed-fallback/stdlib/faulthandler.pyi +4 -0
  41. package/dist/typeshed-fallback/stdlib/fractions.pyi +28 -10
  42. package/dist/typeshed-fallback/stdlib/genericpath.pyi +6 -1
  43. package/dist/typeshed-fallback/stdlib/gzip.pyi +11 -2
  44. package/dist/typeshed-fallback/stdlib/importlib/abc.pyi +59 -53
  45. package/dist/typeshed-fallback/stdlib/importlib/machinery.pyi +23 -0
  46. package/dist/typeshed-fallback/stdlib/importlib/resources/__init__.pyi +8 -2
  47. package/dist/typeshed-fallback/stdlib/importlib/resources/_common.pyi +1 -1
  48. package/dist/typeshed-fallback/stdlib/importlib/resources/abc.pyi +66 -9
  49. package/dist/typeshed-fallback/stdlib/importlib/util.pyi +20 -4
  50. package/dist/typeshed-fallback/stdlib/logging/__init__.pyi +3 -0
  51. package/dist/typeshed-fallback/stdlib/lzma.pyi +5 -4
  52. package/dist/typeshed-fallback/stdlib/multiprocessing/forkserver.pyi +21 -7
  53. package/dist/typeshed-fallback/stdlib/multiprocessing/managers.pyi +62 -1
  54. package/dist/typeshed-fallback/stdlib/multiprocessing/popen_fork.pyi +3 -0
  55. package/dist/typeshed-fallback/stdlib/multiprocessing/reduction.pyi +2 -1
  56. package/dist/typeshed-fallback/stdlib/multiprocessing/util.pyi +15 -5
  57. package/dist/typeshed-fallback/stdlib/ntpath.pyi +7 -10
  58. package/dist/typeshed-fallback/stdlib/posixpath.pyi +7 -13
  59. package/dist/typeshed-fallback/stdlib/pyexpat/errors.pyi +2 -0
  60. package/dist/typeshed-fallback/stdlib/select.pyi +2 -0
  61. package/dist/typeshed-fallback/stdlib/shutil.pyi +9 -2
  62. package/dist/typeshed-fallback/stdlib/socket.pyi +4 -0
  63. package/dist/typeshed-fallback/stdlib/socketserver.pyi +3 -2
  64. package/dist/typeshed-fallback/stdlib/sre_constants.pyi +2 -0
  65. package/dist/typeshed-fallback/stdlib/string/__init__.pyi +5 -2
  66. package/dist/typeshed-fallback/stdlib/string/templatelib.pyi +3 -0
  67. package/dist/typeshed-fallback/stdlib/tarfile.pyi +16 -1
  68. package/dist/typeshed-fallback/stdlib/tkinter/__init__.pyi +4 -2
  69. package/dist/typeshed-fallback/stdlib/turtle.pyi +38 -1
  70. package/dist/typeshed-fallback/stdlib/types.pyi +12 -1
  71. package/dist/typeshed-fallback/stdlib/typing.pyi +7 -3
  72. package/dist/typeshed-fallback/stdlib/typing_extensions.pyi +28 -1
  73. package/dist/typeshed-fallback/stdlib/winsound.pyi +10 -0
  74. package/dist/typeshed-fallback/stdlib/xml/sax/__init__.pyi +18 -1
  75. package/dist/typeshed-fallback/stdlib/zipfile/__init__.pyi +21 -4
  76. package/dist/typeshed-fallback/stdlib/zipimport.pyi +12 -2
  77. package/dist/typeshed-fallback/stdlib/zoneinfo/__init__.pyi +8 -2
  78. package/dist/typeshed-fallback/stubs/Flask-Cors/METADATA.toml +1 -1
  79. package/dist/typeshed-fallback/stubs/Flask-Cors/flask_cors/core.pyi +3 -3
  80. package/dist/typeshed-fallback/stubs/WebOb/webob/cookies.pyi +2 -2
  81. package/dist/typeshed-fallback/stubs/aiofiles/aiofiles/threadpool/__init__.pyi +6 -5
  82. package/dist/typeshed-fallback/stubs/braintree/METADATA.toml +1 -1
  83. package/dist/typeshed-fallback/stubs/braintree/braintree/__init__.pyi +1 -0
  84. package/dist/typeshed-fallback/stubs/braintree/braintree/credit_card.pyi +4 -0
  85. package/dist/typeshed-fallback/stubs/braintree/braintree/customer_session_gateway.pyi +1 -1
  86. package/dist/typeshed-fallback/stubs/braintree/braintree/graphql/__init__.pyi +4 -0
  87. package/dist/typeshed-fallback/stubs/braintree/braintree/graphql/inputs/__init__.pyi +3 -0
  88. package/dist/typeshed-fallback/stubs/braintree/braintree/graphql/inputs/create_customer_session_input.pyi +11 -7
  89. package/dist/typeshed-fallback/stubs/braintree/braintree/graphql/inputs/customer_recommendations_input.pyi +13 -8
  90. package/dist/typeshed-fallback/stubs/braintree/braintree/graphql/inputs/customer_session_input.pyi +14 -9
  91. package/dist/typeshed-fallback/stubs/braintree/braintree/graphql/inputs/monetary_amount_input.pyi +6 -0
  92. package/dist/typeshed-fallback/stubs/braintree/braintree/graphql/inputs/paypal_payee_input.pyi +14 -0
  93. package/dist/typeshed-fallback/stubs/braintree/braintree/graphql/inputs/paypal_purchase_unit_input.pyi +16 -0
  94. package/dist/typeshed-fallback/stubs/braintree/braintree/graphql/inputs/phone_input.pyi +9 -6
  95. package/dist/typeshed-fallback/stubs/braintree/braintree/graphql/inputs/update_customer_session_input.pyi +13 -6
  96. package/dist/typeshed-fallback/stubs/braintree/braintree/graphql/types/__init__.pyi +1 -0
  97. package/dist/typeshed-fallback/stubs/braintree/braintree/graphql/types/customer_recommendations_payload.pyi +9 -4
  98. package/dist/typeshed-fallback/stubs/braintree/braintree/graphql/types/payment_options.pyi +2 -4
  99. package/dist/typeshed-fallback/stubs/braintree/braintree/graphql/types/payment_recommendation.pyi +6 -0
  100. package/dist/typeshed-fallback/stubs/braintree/braintree/graphql/unions/customer_recommendations.pyi +4 -4
  101. package/dist/typeshed-fallback/stubs/braintree/braintree/{montary_amount.pyi → monetary_amount.pyi} +1 -1
  102. package/dist/typeshed-fallback/stubs/braintree/braintree/test/credit_card_numbers.pyi +4 -0
  103. package/dist/typeshed-fallback/stubs/braintree/braintree/test/nonces.pyi +4 -0
  104. package/dist/typeshed-fallback/stubs/braintree/braintree/util/__init__.pyi +1 -0
  105. package/dist/typeshed-fallback/stubs/braintree/braintree/util/experimental.pyi +5 -0
  106. package/dist/typeshed-fallback/stubs/cachetools/METADATA.toml +1 -1
  107. package/dist/typeshed-fallback/stubs/cachetools/cachetools/__init__.pyi +13 -4
  108. package/dist/typeshed-fallback/stubs/cachetools/cachetools/func.pyi +1 -4
  109. package/dist/typeshed-fallback/stubs/cffi/_cffi_backend.pyi +2 -2
  110. package/dist/typeshed-fallback/stubs/cffi/cffi/api.pyi +1 -1
  111. package/dist/typeshed-fallback/stubs/dateparser/dateparser/calendars/__init__.pyi +3 -1
  112. package/dist/typeshed-fallback/stubs/dateparser/dateparser/parser.pyi +1 -1
  113. package/dist/typeshed-fallback/stubs/docker/docker/models/containers.pyi +12 -12
  114. package/dist/typeshed-fallback/stubs/docutils/docutils/__init__.pyi +1 -1
  115. package/dist/typeshed-fallback/stubs/docutils/docutils/core.pyi +9 -1
  116. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/__init__.pyi +11 -3
  117. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/af.pyi +6 -0
  118. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/ar.pyi +6 -0
  119. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/ca.pyi +6 -0
  120. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/cs.pyi +6 -0
  121. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/da.pyi +6 -0
  122. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/de.pyi +6 -0
  123. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/en.pyi +6 -0
  124. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/eo.pyi +6 -0
  125. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/es.pyi +6 -0
  126. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/fa.pyi +6 -0
  127. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/fi.pyi +6 -0
  128. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/fr.pyi +6 -0
  129. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/gl.pyi +6 -0
  130. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/he.pyi +6 -0
  131. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/it.pyi +6 -0
  132. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/ja.pyi +6 -0
  133. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/ka.pyi +6 -0
  134. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/ko.pyi +6 -0
  135. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/lt.pyi +6 -0
  136. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/lv.pyi +6 -0
  137. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/nl.pyi +6 -0
  138. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/pl.pyi +6 -0
  139. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/pt_br.pyi +6 -0
  140. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/ru.pyi +6 -0
  141. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/sk.pyi +6 -0
  142. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/sv.pyi +6 -0
  143. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/uk.pyi +6 -0
  144. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/zh_cn.pyi +6 -0
  145. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/zh_tw.pyi +6 -0
  146. package/dist/typeshed-fallback/stubs/docutils/docutils/nodes.pyi +206 -3
  147. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/__init__.pyi +8 -6
  148. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/null.pyi +1 -0
  149. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/recommonmark_wrapper.pyi +50 -1
  150. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/__init__.pyi +9 -5
  151. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/directives/__init__.pyi +5 -3
  152. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/directives/admonitions.pyi +33 -10
  153. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/directives/body.pyi +64 -1
  154. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/directives/html.pyi +5 -1
  155. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/directives/images.pyi +18 -1
  156. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/directives/misc.pyi +8 -7
  157. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/directives/parts.pyi +4 -0
  158. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/directives/references.pyi +4 -0
  159. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/directives/tables.pyi +62 -1
  160. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/__init__.pyi +20 -0
  161. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/af.pyi +5 -0
  162. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/ar.pyi +5 -0
  163. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/ca.pyi +5 -0
  164. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/cs.pyi +5 -0
  165. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/da.pyi +5 -0
  166. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/de.pyi +5 -0
  167. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/en.pyi +5 -0
  168. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/eo.pyi +5 -0
  169. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/es.pyi +5 -0
  170. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/fa.pyi +5 -0
  171. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/fi.pyi +5 -0
  172. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/fr.pyi +5 -0
  173. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/gl.pyi +5 -0
  174. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/he.pyi +5 -0
  175. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/it.pyi +5 -0
  176. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/ja.pyi +5 -0
  177. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/ka.pyi +5 -0
  178. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/ko.pyi +5 -0
  179. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/lt.pyi +5 -0
  180. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/lv.pyi +5 -0
  181. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/nl.pyi +5 -0
  182. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/pl.pyi +5 -0
  183. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/pt_br.pyi +5 -0
  184. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/ru.pyi +5 -0
  185. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/sk.pyi +5 -0
  186. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/sv.pyi +5 -0
  187. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/uk.pyi +5 -0
  188. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/zh_cn.pyi +5 -0
  189. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/zh_tw.pyi +5 -0
  190. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/roles.pyi +3 -2
  191. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/states.pyi +257 -8
  192. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/tableparser.pyi +3 -2
  193. package/dist/typeshed-fallback/stubs/docutils/docutils/utils/__init__.pyi +9 -8
  194. package/dist/typeshed-fallback/stubs/docutils/docutils/utils/code_analyzer.pyi +28 -0
  195. package/dist/typeshed-fallback/stubs/docutils/docutils/utils/error_reporting.pyi +41 -0
  196. package/dist/typeshed-fallback/stubs/docutils/docutils/utils/math/__init__.pyi +11 -0
  197. package/dist/typeshed-fallback/stubs/docutils/docutils/utils/math/latex2mathml.pyi +44 -0
  198. package/dist/typeshed-fallback/stubs/docutils/docutils/utils/math/math2html.pyi +635 -0
  199. package/dist/typeshed-fallback/stubs/docutils/docutils/utils/math/mathalphabet2unichar.pyi +13 -0
  200. package/dist/typeshed-fallback/stubs/docutils/docutils/utils/math/mathml_elements.pyi +82 -0
  201. package/dist/typeshed-fallback/stubs/docutils/docutils/utils/math/tex2mathml_extern.pyi +8 -0
  202. package/dist/typeshed-fallback/stubs/docutils/docutils/utils/math/tex2unichar.pyi +14 -0
  203. package/dist/typeshed-fallback/stubs/docutils/docutils/utils/math/unichar2tex.pyi +1 -0
  204. package/dist/typeshed-fallback/stubs/docutils/docutils/utils/punctuation_chars.pyi +9 -0
  205. package/dist/typeshed-fallback/stubs/docutils/docutils/utils/roman.pyi +10 -1
  206. package/dist/typeshed-fallback/stubs/docutils/docutils/utils/smartquotes.pyi +44 -0
  207. package/dist/typeshed-fallback/stubs/docutils/docutils/utils/urischemes.pyi +1 -0
  208. package/dist/typeshed-fallback/stubs/docutils/docutils/writers/manpage.pyi +18 -0
  209. package/dist/typeshed-fallback/stubs/geopandas/METADATA.toml +1 -1
  210. package/dist/typeshed-fallback/stubs/geopandas/geopandas/geoseries.pyi +1 -1
  211. package/dist/typeshed-fallback/stubs/grpcio/grpc/__init__.pyi +32 -53
  212. package/dist/typeshed-fallback/stubs/grpcio/grpc/aio/__init__.pyi +18 -21
  213. package/dist/typeshed-fallback/stubs/icalendar/METADATA.toml +1 -1
  214. package/dist/typeshed-fallback/stubs/icalendar/icalendar/parser.pyi +1 -0
  215. package/dist/typeshed-fallback/stubs/jmespath/jmespath/__init__.pyi +3 -1
  216. package/dist/typeshed-fallback/stubs/jmespath/jmespath/ast.pyi +55 -22
  217. package/dist/typeshed-fallback/stubs/jmespath/jmespath/compat.pyi +7 -4
  218. package/dist/typeshed-fallback/stubs/jmespath/jmespath/functions.pyi +1 -1
  219. package/dist/typeshed-fallback/stubs/jmespath/jmespath/visitor.pyi +14 -11
  220. package/dist/typeshed-fallback/stubs/jsonschema/METADATA.toml +1 -1
  221. package/dist/typeshed-fallback/stubs/jsonschema/jsonschema/_utils.pyi +2 -1
  222. package/dist/typeshed-fallback/stubs/jsonschema/jsonschema/validators.pyi +26 -12
  223. package/dist/typeshed-fallback/stubs/networkx/METADATA.toml +1 -1
  224. package/dist/typeshed-fallback/stubs/networkx/networkx/__init__.pyi +4 -0
  225. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/__init__.pyi +1 -0
  226. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/approximation/__init__.pyi +1 -0
  227. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/approximation/density.pyi +15 -0
  228. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/approximation/traveling_salesman.pyi +11 -2
  229. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/approximation/treewidth.pyi +4 -0
  230. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/asteroidal.pyi +4 -0
  231. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/bipartite/__init__.pyi +1 -0
  232. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/bipartite/cluster.pyi +7 -1
  233. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/bipartite/link_analysis.pyi +20 -0
  234. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/clique.pyi +12 -0
  235. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/coloring/equitable_coloring.pyi +8 -0
  236. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/coloring/greedy_coloring.pyi +5 -1
  237. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/community/__init__.pyi +2 -0
  238. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/community/divisive.pyi +3 -3
  239. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/community/leiden.pyi +18 -0
  240. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/community/local.pyi +15 -0
  241. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/community/lukes.pyi +9 -0
  242. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/community/quality.pyi +9 -0
  243. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/connectivity/edge_augmentation.pyi +28 -1
  244. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/connectivity/edge_kcomponents.pyi +3 -0
  245. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/connectivity/kcomponents.pyi +1 -0
  246. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/d_separation.pyi +1 -5
  247. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/distance_measures.pyi +14 -9
  248. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/dominating.pyi +6 -2
  249. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/isomorphism/isomorph.pyi +17 -13
  250. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/isomorphism/matchhelpers.pyi +3 -0
  251. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/isomorphism/tree_isomorphism.pyi +2 -0
  252. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/minors/contraction.pyi +11 -2
  253. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/planar_drawing.pyi +10 -0
  254. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/planarity.pyi +5 -0
  255. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/similarity.pyi +3 -1
  256. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/structuralholes.pyi +4 -0
  257. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/threshold.pyi +28 -0
  258. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/tournament.pyi +11 -1
  259. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/traversal/edgebfs.pyi +4 -0
  260. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/traversal/edgedfs.pyi +4 -0
  261. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/tree/branchings.pyi +6 -0
  262. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/tree/mst.pyi +11 -2
  263. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/triads.pyi +6 -6
  264. package/dist/typeshed-fallback/stubs/networkx/networkx/classes/digraph.pyi +1 -0
  265. package/dist/typeshed-fallback/stubs/networkx/networkx/classes/function.pyi +30 -4
  266. package/dist/typeshed-fallback/stubs/networkx/networkx/drawing/layout.pyi +46 -16
  267. package/dist/typeshed-fallback/stubs/networkx/networkx/drawing/nx_pylab.pyi +53 -15
  268. package/dist/typeshed-fallback/stubs/networkx/networkx/generators/atlas.pyi +11 -0
  269. package/dist/typeshed-fallback/stubs/networkx/networkx/generators/directed.pyi +2 -0
  270. package/dist/typeshed-fallback/stubs/networkx/networkx/generators/internet_as_graphs.pyi +4 -0
  271. package/dist/typeshed-fallback/stubs/networkx/networkx/generators/nonisomorphic_trees.pyi +1 -1
  272. package/dist/typeshed-fallback/stubs/networkx/networkx/generators/triads.pyi +4 -0
  273. package/dist/typeshed-fallback/stubs/networkx/networkx/linalg/laplacianmatrix.pyi +0 -3
  274. package/dist/typeshed-fallback/stubs/networkx/networkx/readwrite/gml.pyi +8 -1
  275. package/dist/typeshed-fallback/stubs/networkx/networkx/readwrite/graph6.pyi +7 -0
  276. package/dist/typeshed-fallback/stubs/networkx/networkx/readwrite/pajek.pyi +1 -0
  277. package/dist/typeshed-fallback/stubs/networkx/networkx/utils/__init__.pyi +4 -19
  278. package/dist/typeshed-fallback/stubs/networkx/networkx/utils/backends.pyi +3 -2
  279. package/dist/typeshed-fallback/stubs/networkx/networkx/utils/rcm.pyi +4 -0
  280. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/styles/colors.pyi +2 -4
  281. package/dist/typeshed-fallback/stubs/passlib/passlib/handlers/argon2.pyi +8 -7
  282. package/dist/typeshed-fallback/stubs/passlib/passlib/handlers/bcrypt.pyi +4 -3
  283. package/dist/typeshed-fallback/stubs/passlib/passlib/handlers/cisco.pyi +2 -1
  284. package/dist/typeshed-fallback/stubs/passlib/passlib/handlers/des_crypt.pyi +6 -5
  285. package/dist/typeshed-fallback/stubs/passlib/passlib/handlers/digests.pyi +11 -7
  286. package/dist/typeshed-fallback/stubs/passlib/passlib/handlers/django.pyi +5 -4
  287. package/dist/typeshed-fallback/stubs/passlib/passlib/handlers/fshp.pyi +3 -2
  288. package/dist/typeshed-fallback/stubs/passlib/passlib/handlers/ldap_digests.pyi +3 -2
  289. package/dist/typeshed-fallback/stubs/passlib/passlib/handlers/md5_crypt.pyi +2 -1
  290. package/dist/typeshed-fallback/stubs/passlib/passlib/handlers/misc.pyi +4 -1
  291. package/dist/typeshed-fallback/stubs/passlib/passlib/handlers/mssql.pyi +3 -2
  292. package/dist/typeshed-fallback/stubs/passlib/passlib/handlers/oracle.pyi +2 -1
  293. package/dist/typeshed-fallback/stubs/passlib/passlib/handlers/pbkdf2.pyi +4 -4
  294. package/dist/typeshed-fallback/stubs/passlib/passlib/handlers/scram.pyi +2 -1
  295. package/dist/typeshed-fallback/stubs/passlib/passlib/handlers/scrypt.pyi +2 -1
  296. package/dist/typeshed-fallback/stubs/passlib/passlib/utils/handlers.pyi +1 -1
  297. package/dist/typeshed-fallback/stubs/peewee/peewee.pyi +8 -29
  298. package/dist/typeshed-fallback/stubs/psutil/psutil/__init__.pyi +1 -0
  299. package/dist/typeshed-fallback/stubs/python-jose/METADATA.toml +1 -1
  300. package/dist/typeshed-fallback/stubs/python-jose/jose/backends/__init__.pyi +1 -4
  301. package/dist/typeshed-fallback/stubs/python-jose/jose/backends/cryptography_backend.pyi +1 -2
  302. package/dist/typeshed-fallback/stubs/python-jose/jose/jws.pyi +2 -2
  303. package/dist/typeshed-fallback/stubs/python-jose/jose/jwt.pyi +4 -1
  304. package/dist/typeshed-fallback/stubs/python-xlib/Xlib/protocol/display.pyi +2 -2
  305. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/barcode/dmtx.pyi +4 -4
  306. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/barcode/eanbc.pyi +1 -1
  307. package/dist/typeshed-fallback/stubs/reportlab/reportlab/pdfgen/canvas.pyi +13 -9
  308. package/dist/typeshed-fallback/stubs/setuptools/METADATA.toml +1 -1
  309. package/dist/typeshed-fallback/stubs/vobject/vobject/behavior.pyi +1 -1
  310. package/dist/typeshed-fallback/stubs/vobject/vobject/icalendar.pyi +6 -6
  311. package/package.json +1 -1
  312. package/dist/typeshed-fallback/stubs/atheris/METADATA.toml +0 -10
  313. package/dist/typeshed-fallback/stubs/atheris/atheris/__init__.pyi +0 -9
  314. package/dist/typeshed-fallback/stubs/atheris/atheris/function_hooks.pyi +0 -14
  315. package/dist/typeshed-fallback/stubs/atheris/atheris/import_hook.pyi +0 -36
  316. package/dist/typeshed-fallback/stubs/atheris/atheris/instrument_bytecode.pyi +0 -7
  317. package/dist/typeshed-fallback/stubs/atheris/atheris/utils.pyi +0 -18
  318. package/dist/typeshed-fallback/stubs/atheris/atheris/version_dependent.pyi +0 -27
  319. package/dist/typeshed-fallback/stubs/caldav/METADATA.toml +0 -9
  320. package/dist/typeshed-fallback/stubs/caldav/caldav/__init__.pyi +0 -4
  321. package/dist/typeshed-fallback/stubs/caldav/caldav/davclient.pyi +0 -84
  322. package/dist/typeshed-fallback/stubs/caldav/caldav/elements/__init__.pyi +0 -0
  323. package/dist/typeshed-fallback/stubs/caldav/caldav/elements/base.pyi +0 -24
  324. package/dist/typeshed-fallback/stubs/caldav/caldav/elements/cdav.pyi +0 -100
  325. package/dist/typeshed-fallback/stubs/caldav/caldav/elements/dav.pyi +0 -63
  326. package/dist/typeshed-fallback/stubs/caldav/caldav/elements/ical.pyi +0 -9
  327. package/dist/typeshed-fallback/stubs/caldav/caldav/lib/__init__.pyi +0 -0
  328. package/dist/typeshed-fallback/stubs/caldav/caldav/lib/error.pyi +0 -23
  329. package/dist/typeshed-fallback/stubs/caldav/caldav/lib/namespace.pyi +0 -4
  330. package/dist/typeshed-fallback/stubs/caldav/caldav/lib/url.pyi +0 -27
  331. package/dist/typeshed-fallback/stubs/caldav/caldav/lib/vcal.pyi +0 -1
  332. package/dist/typeshed-fallback/stubs/caldav/caldav/objects.pyi +0 -263
  333. package/dist/typeshed-fallback/stubs/caldav/caldav/requests.pyi +0 -8
  334. package/dist/typeshed-fallback/stubs/corus/METADATA.toml +0 -6
  335. package/dist/typeshed-fallback/stubs/corus/corus/__init__.pyi +0 -1
  336. package/dist/typeshed-fallback/stubs/corus/corus/io.pyi +0 -21
  337. package/dist/typeshed-fallback/stubs/corus/corus/path.pyi +0 -0
  338. package/dist/typeshed-fallback/stubs/corus/corus/readme.pyi +0 -17
  339. package/dist/typeshed-fallback/stubs/corus/corus/record.pyi +0 -8
  340. package/dist/typeshed-fallback/stubs/corus/corus/sources/__init__.pyi +0 -23
  341. package/dist/typeshed-fallback/stubs/corus/corus/sources/bsnlp.pyi +0 -75
  342. package/dist/typeshed-fallback/stubs/corus/corus/sources/buriy.pyi +0 -18
  343. package/dist/typeshed-fallback/stubs/corus/corus/sources/corpora.pyi +0 -50
  344. package/dist/typeshed-fallback/stubs/corus/corus/sources/factru.pyi +0 -74
  345. package/dist/typeshed-fallback/stubs/corus/corus/sources/gareev.pyi +0 -21
  346. package/dist/typeshed-fallback/stubs/corus/corus/sources/gramru.pyi +0 -1
  347. package/dist/typeshed-fallback/stubs/corus/corus/sources/lenta.pyi +0 -19
  348. package/dist/typeshed-fallback/stubs/corus/corus/sources/librusec.pyi +0 -14
  349. package/dist/typeshed-fallback/stubs/corus/corus/sources/meta.pyi +0 -43
  350. package/dist/typeshed-fallback/stubs/corus/corus/sources/mokoron.pyi +0 -28
  351. package/dist/typeshed-fallback/stubs/corus/corus/sources/morphoru.pyi +0 -24
  352. package/dist/typeshed-fallback/stubs/corus/corus/sources/ne5.pyi +0 -28
  353. package/dist/typeshed-fallback/stubs/corus/corus/sources/ods.pyi +0 -46
  354. package/dist/typeshed-fallback/stubs/corus/corus/sources/omnia.pyi +0 -49
  355. package/dist/typeshed-fallback/stubs/corus/corus/sources/persons.pyi +0 -27
  356. package/dist/typeshed-fallback/stubs/corus/corus/sources/ria.pyi +0 -21
  357. package/dist/typeshed-fallback/stubs/corus/corus/sources/rudrec.pyi +0 -27
  358. package/dist/typeshed-fallback/stubs/corus/corus/sources/russe.pyi +0 -16
  359. package/dist/typeshed-fallback/stubs/corus/corus/sources/simlex.pyi +0 -14
  360. package/dist/typeshed-fallback/stubs/corus/corus/sources/taiga/__init__.pyi +0 -10
  361. package/dist/typeshed-fallback/stubs/corus/corus/sources/taiga/arzamas.pyi +0 -4
  362. package/dist/typeshed-fallback/stubs/corus/corus/sources/taiga/common.pyi +0 -69
  363. package/dist/typeshed-fallback/stubs/corus/corus/sources/taiga/fontanka.pyi +0 -4
  364. package/dist/typeshed-fallback/stubs/corus/corus/sources/taiga/interfax.pyi +0 -4
  365. package/dist/typeshed-fallback/stubs/corus/corus/sources/taiga/kp.pyi +0 -4
  366. package/dist/typeshed-fallback/stubs/corus/corus/sources/taiga/lenta.pyi +0 -4
  367. package/dist/typeshed-fallback/stubs/corus/corus/sources/taiga/magazines.pyi +0 -4
  368. package/dist/typeshed-fallback/stubs/corus/corus/sources/taiga/nplus1.pyi +0 -4
  369. package/dist/typeshed-fallback/stubs/corus/corus/sources/taiga/proza.pyi +0 -6
  370. package/dist/typeshed-fallback/stubs/corus/corus/sources/taiga/social.pyi +0 -15
  371. package/dist/typeshed-fallback/stubs/corus/corus/sources/taiga/subtitles.pyi +0 -6
  372. package/dist/typeshed-fallback/stubs/corus/corus/sources/toloka.pyi +0 -28
  373. package/dist/typeshed-fallback/stubs/corus/corus/sources/ud.pyi +0 -29
  374. package/dist/typeshed-fallback/stubs/corus/corus/sources/wiki.pyi +0 -20
  375. package/dist/typeshed-fallback/stubs/corus/corus/sources/wikiner.pyi +0 -19
  376. package/dist/typeshed-fallback/stubs/corus/corus/third/WikiExtractor.pyi +0 -225
  377. package/dist/typeshed-fallback/stubs/corus/corus/third/__init__.pyi +0 -0
  378. package/dist/typeshed-fallback/stubs/corus/corus/zip.pyi +0 -28
  379. package/dist/typeshed-fallback/stubs/pygit2/METADATA.toml +0 -9
  380. package/dist/typeshed-fallback/stubs/pygit2/pygit2/__init__.pyi +0 -60
  381. package/dist/typeshed-fallback/stubs/pygit2/pygit2/_build.pyi +0 -5
  382. package/dist/typeshed-fallback/stubs/pygit2/pygit2/_libgit2.pyi +0 -4
  383. package/dist/typeshed-fallback/stubs/pygit2/pygit2/_pygit2.pyi +0 -763
  384. package/dist/typeshed-fallback/stubs/pygit2/pygit2/_run.pyi +0 -15
  385. package/dist/typeshed-fallback/stubs/pygit2/pygit2/blame.pyi +0 -34
  386. package/dist/typeshed-fallback/stubs/pygit2/pygit2/blob.pyi +0 -25
  387. package/dist/typeshed-fallback/stubs/pygit2/pygit2/branches.pyi +0 -17
  388. package/dist/typeshed-fallback/stubs/pygit2/pygit2/callbacks.pyi +0 -78
  389. package/dist/typeshed-fallback/stubs/pygit2/pygit2/config.pyi +0 -59
  390. package/dist/typeshed-fallback/stubs/pygit2/pygit2/credentials.pyi +0 -34
  391. package/dist/typeshed-fallback/stubs/pygit2/pygit2/enums.pyi +0 -394
  392. package/dist/typeshed-fallback/stubs/pygit2/pygit2/errors.pyi +0 -6
  393. package/dist/typeshed-fallback/stubs/pygit2/pygit2/ffi.pyi +0 -1
  394. package/dist/typeshed-fallback/stubs/pygit2/pygit2/filter.pyi +0 -11
  395. package/dist/typeshed-fallback/stubs/pygit2/pygit2/index.pyi +0 -59
  396. package/dist/typeshed-fallback/stubs/pygit2/pygit2/legacyenums.pyi +0 -62
  397. package/dist/typeshed-fallback/stubs/pygit2/pygit2/packbuilder.pyi +0 -15
  398. package/dist/typeshed-fallback/stubs/pygit2/pygit2/references.pyi +0 -18
  399. package/dist/typeshed-fallback/stubs/pygit2/pygit2/refspec.pyi +0 -18
  400. package/dist/typeshed-fallback/stubs/pygit2/pygit2/remotes.pyi +0 -84
  401. package/dist/typeshed-fallback/stubs/pygit2/pygit2/repository.pyi +0 -211
  402. package/dist/typeshed-fallback/stubs/pygit2/pygit2/settings.pyi +0 -37
  403. package/dist/typeshed-fallback/stubs/pygit2/pygit2/submodules.pyi +0 -44
  404. package/dist/typeshed-fallback/stubs/pygit2/pygit2/utils.pyi +0 -49
  405. package/dist/typeshed-fallback/stubs/tree-sitter-languages/METADATA.toml +0 -9
  406. package/dist/typeshed-fallback/stubs/tree-sitter-languages/tree_sitter_languages/__init__.pyi +0 -7
  407. package/dist/typeshed-fallback/stubs/tree-sitter-languages/tree_sitter_languages/core.pyi +0 -4
@@ -0,0 +1,6 @@
1
+ from typing import Final, Literal
2
+
3
+ __docformat__: Final = "reStructuredText"
4
+ labels: dict[str, str]
5
+ bibliographic_fields: dict[str, str]
6
+ author_separators: list[Literal[";", ","]]
@@ -0,0 +1,6 @@
1
+ from typing import Final, Literal
2
+
3
+ __docformat__: Final = "reStructuredText"
4
+ labels: dict[str, str]
5
+ bibliographic_fields: dict[str, str]
6
+ author_separators: list[Literal[";", ","]]
@@ -0,0 +1,6 @@
1
+ from typing import Final, Literal
2
+
3
+ __docformat__: Final = "reStructuredText"
4
+ labels: dict[str, str]
5
+ bibliographic_fields: dict[str, str]
6
+ author_separators: list[Literal[";", ","]]
@@ -0,0 +1,6 @@
1
+ from typing import Final, Literal
2
+
3
+ __docformat__: Final = "reStructuredText"
4
+ labels: dict[str, str]
5
+ bibliographic_fields: dict[str, str]
6
+ author_separators: list[Literal[";", ","]]
@@ -0,0 +1,6 @@
1
+ from typing import Final, Literal
2
+
3
+ __docformat__: Final = "reStructuredText"
4
+ labels: dict[str, str]
5
+ bibliographic_fields: dict[str, str]
6
+ author_separators: list[Literal[";", ","]]
@@ -0,0 +1,6 @@
1
+ from typing import Final, Literal
2
+
3
+ __docformat__: Final = "reStructuredText"
4
+ labels: dict[str, str]
5
+ bibliographic_fields: dict[str, str]
6
+ author_separators: list[Literal[";", ","]]
@@ -0,0 +1,6 @@
1
+ from typing import Final, Literal
2
+
3
+ __docformat__: Final = "reStructuredText"
4
+ labels: dict[str, str]
5
+ bibliographic_fields: dict[str, str]
6
+ author_separators: list[Literal[";", ","]]
@@ -0,0 +1,6 @@
1
+ from typing import Final, Literal
2
+
3
+ __docformat__: Final = "reStructuredText"
4
+ labels: dict[str, str]
5
+ bibliographic_fields: dict[str, str]
6
+ author_separators: list[Literal[";", ","]]
@@ -0,0 +1,6 @@
1
+ from typing import Final, Literal
2
+
3
+ __docformat__: Final = "reStructuredText"
4
+ labels: dict[str, str]
5
+ bibliographic_fields: dict[str, str]
6
+ author_separators: list[Literal[";", ","]]
@@ -0,0 +1,6 @@
1
+ from typing import Final, Literal
2
+
3
+ __docformat__: Final = "reStructuredText"
4
+ labels: dict[str, str]
5
+ bibliographic_fields: dict[str, str]
6
+ author_separators: list[Literal[";", ","]]
@@ -0,0 +1,6 @@
1
+ from typing import Final, Literal
2
+
3
+ __docformat__: Final = "reStructuredText"
4
+ labels: dict[str, str]
5
+ bibliographic_fields: dict[str, str]
6
+ author_separators: list[Literal[";", ","]]
@@ -0,0 +1,6 @@
1
+ from typing import Final, Literal
2
+
3
+ __docformat__: Final = "reStructuredText"
4
+ labels: dict[str, str]
5
+ bibliographic_fields: dict[str, str]
6
+ author_separators: list[Literal[";", ","]]
@@ -0,0 +1,6 @@
1
+ from typing import Final, Literal
2
+
3
+ __docformat__: Final = "reStructuredText"
4
+ labels: dict[str, str]
5
+ bibliographic_fields: dict[str, str]
6
+ author_separators: list[Literal[";", ","]]
@@ -0,0 +1,6 @@
1
+ from typing import Final, Literal
2
+
3
+ __docformat__: Final = "reStructuredText"
4
+ labels: dict[str, str]
5
+ bibliographic_fields: dict[str, str]
6
+ author_separators: list[Literal[";", ","]]
@@ -0,0 +1,6 @@
1
+ from typing import Final
2
+
3
+ __docformat__: Final = "reStructuredText"
4
+ labels: dict[str, str]
5
+ bibliographic_fields: dict[str, str]
6
+ author_separators: list[str]
@@ -0,0 +1,6 @@
1
+ from typing import Final
2
+
3
+ __docformat__: Final = "reStructuredText"
4
+ labels: dict[str, str]
5
+ bibliographic_fields: dict[str, str]
6
+ author_separators: list[str]
@@ -1,6 +1,5 @@
1
1
  import sys
2
2
  import xml.dom.minidom
3
- from _typeshed import Incomplete
4
3
  from abc import abstractmethod
5
4
  from collections import Counter
6
5
  from collections.abc import Callable, Generator, Iterable, Iterator, Mapping, Sequence
@@ -88,6 +87,7 @@ class Node:
88
87
  # Left out
89
88
  # - def ensure_str (deprecated)
90
89
  # - def unescape (canonical import from docutils.utils)
90
+ def unescape(text: str, restore_backslashes: bool = False, respect_whitespace: bool = False) -> str: ...
91
91
 
92
92
  class Text(Node, str):
93
93
  tagname: ClassVar[str]
@@ -462,11 +462,214 @@ class NodeVisitor:
462
462
  def unknown_visit(self, node: Node) -> Any: ...
463
463
  def unknown_departure(self, node: Node) -> Any: ...
464
464
 
465
+ # These methods only exist on the subclasses `GenericNodeVisitor` and `SparseNodeVisitor` at runtime.
466
+ # If subclassing `NodeVisitor` directly, `visit_*` methods must be implemented for nodes and children that will be called
467
+ # with `Node.walk()` and `Node.walkabout()`.
468
+ # `depart_*` methods must also be implemented for nodes and children that will be called with `Node.walkabout()`.
469
+ def visit_Text(self, node: Text) -> Any: ...
470
+ def visit_abbreviation(self, node: abbreviation) -> Any: ...
471
+ def visit_acronym(self, node: acronym) -> Any: ...
472
+ def visit_address(self, node: address) -> Any: ...
473
+ def visit_admonition(self, node: admonition) -> Any: ...
474
+ def visit_attention(self, node: attention) -> Any: ...
475
+ def visit_attribution(self, node: attribution) -> Any: ...
476
+ def visit_author(self, node: author) -> Any: ...
477
+ def visit_authors(self, node: authors) -> Any: ...
478
+ def visit_block_quote(self, node: block_quote) -> Any: ...
479
+ def visit_bullet_list(self, node: bullet_list) -> Any: ...
480
+ def visit_caption(self, node: caption) -> Any: ...
481
+ def visit_caution(self, node: caution) -> Any: ...
482
+ def visit_citation(self, node: citation) -> Any: ...
483
+ def visit_citation_reference(self, node: citation_reference) -> Any: ...
484
+ def visit_classifier(self, node: classifier) -> Any: ...
485
+ def visit_colspec(self, node: colspec) -> Any: ...
486
+ def visit_comment(self, node: comment) -> Any: ...
487
+ def visit_compound(self, node: compound) -> Any: ...
488
+ def visit_contact(self, node: contact) -> Any: ...
489
+ def visit_container(self, node: container) -> Any: ...
490
+ def visit_copyright(self, node: copyright) -> Any: ...
491
+ def visit_danger(self, node: danger) -> Any: ...
492
+ def visit_date(self, node: date) -> Any: ...
493
+ def visit_decoration(self, node: decoration) -> Any: ...
494
+ def visit_definition(self, node: definition) -> Any: ...
495
+ def visit_definition_list(self, node: definition_list) -> Any: ...
496
+ def visit_definition_list_item(self, node: definition_list_item) -> Any: ...
497
+ def visit_description(self, node: description) -> Any: ...
498
+ def visit_docinfo(self, node: docinfo) -> Any: ...
499
+ def visit_doctest_block(self, node: doctest_block) -> Any: ...
500
+ def visit_document(self, node: _Document) -> Any: ...
501
+ def visit_emphasis(self, node: emphasis) -> Any: ...
502
+ def visit_entry(self, node: entry) -> Any: ...
503
+ def visit_enumerated_list(self, node: enumerated_list) -> Any: ...
504
+ def visit_error(self, node: error) -> Any: ...
505
+ def visit_field(self, node: field) -> Any: ...
506
+ def visit_field_body(self, node: field_body) -> Any: ...
507
+ def visit_field_list(self, node: field_list) -> Any: ...
508
+ def visit_field_name(self, node: field_name) -> Any: ...
509
+ def visit_figure(self, node: figure) -> Any: ...
510
+ def visit_footer(self, node: footer) -> Any: ...
511
+ def visit_footnote(self, node: footnote) -> Any: ...
512
+ def visit_footnote_reference(self, node: footnote_reference) -> Any: ...
513
+ def visit_generated(self, node: generated) -> Any: ...
514
+ def visit_header(self, node: header) -> Any: ...
515
+ def visit_hint(self, node: hint) -> Any: ...
516
+ def visit_image(self, node: image) -> Any: ...
517
+ def visit_important(self, node: important) -> Any: ...
518
+ def visit_inline(self, node: inline) -> Any: ...
519
+ def visit_label(self, node: label) -> Any: ...
520
+ def visit_legend(self, node: legend) -> Any: ...
521
+ def visit_line(self, node: line) -> Any: ...
522
+ def visit_line_block(self, node: line_block) -> Any: ...
523
+ def visit_list_item(self, node: list_item) -> Any: ...
524
+ def visit_literal(self, node: literal) -> Any: ...
525
+ def visit_literal_block(self, node: literal_block) -> Any: ...
526
+ def visit_math(self, node: math) -> Any: ...
527
+ def visit_math_block(self, node: math_block) -> Any: ...
528
+ def visit_meta(self, node: meta) -> Any: ...
529
+ def visit_note(self, node: note) -> Any: ...
530
+ def visit_option(self, node: option) -> Any: ...
531
+ def visit_option_argument(self, node: option_argument) -> Any: ...
532
+ def visit_option_group(self, node: option_group) -> Any: ...
533
+ def visit_option_list(self, node: option_list) -> Any: ...
534
+ def visit_option_list_item(self, node: option_list_item) -> Any: ...
535
+ def visit_option_string(self, node: option_string) -> Any: ...
536
+ def visit_organization(self, node: organization) -> Any: ...
537
+ def visit_paragraph(self, node: paragraph) -> Any: ...
538
+ def visit_pending(self, node: pending) -> Any: ...
539
+ def visit_problematic(self, node: problematic) -> Any: ...
540
+ def visit_raw(self, node: raw) -> Any: ...
541
+ def visit_reference(self, node: reference) -> Any: ...
542
+ def visit_revision(self, node: revision) -> Any: ...
543
+ def visit_row(self, node: row) -> Any: ...
544
+ def visit_rubric(self, node: rubric) -> Any: ...
545
+ def visit_section(self, node: section) -> Any: ...
546
+ def visit_sidebar(self, node: sidebar) -> Any: ...
547
+ def visit_status(self, node: status) -> Any: ...
548
+ def visit_strong(self, node: strong) -> Any: ...
549
+ def visit_subscript(self, node: subscript) -> Any: ...
550
+ def visit_substitution_definition(self, node: substitution_definition) -> Any: ...
551
+ def visit_substitution_reference(self, node: substitution_reference) -> Any: ...
552
+ def visit_subtitle(self, node: subtitle) -> Any: ...
553
+ def visit_superscript(self, node: superscript) -> Any: ...
554
+ def visit_system_message(self, node: system_message) -> Any: ...
555
+ def visit_table(self, node: table) -> Any: ...
556
+ def visit_target(self, node: target) -> Any: ...
557
+ def visit_tbody(self, node: tbody) -> Any: ...
558
+ def visit_term(self, node: term) -> Any: ...
559
+ def visit_tgroup(self, node: tgroup) -> Any: ...
560
+ def visit_thead(self, node: thead) -> Any: ...
561
+ def visit_tip(self, node: tip) -> Any: ...
562
+ def visit_title(self, node: title) -> Any: ...
563
+ def visit_title_reference(self, node: title_reference) -> Any: ...
564
+ def visit_topic(self, node: topic) -> Any: ...
565
+ def visit_transition(self, node: transition) -> Any: ...
566
+ def visit_version(self, node: version) -> Any: ...
567
+ def visit_warning(self, node: warning) -> Any: ...
568
+ def depart_Text(self, node: Text) -> Any: ...
569
+ def depart_abbreviation(self, node: abbreviation) -> Any: ...
570
+ def depart_acronym(self, node: acronym) -> Any: ...
571
+ def depart_address(self, node: address) -> Any: ...
572
+ def depart_admonition(self, node: admonition) -> Any: ...
573
+ def depart_attention(self, node: attention) -> Any: ...
574
+ def depart_attribution(self, node: attribution) -> Any: ...
575
+ def depart_author(self, node: author) -> Any: ...
576
+ def depart_authors(self, node: authors) -> Any: ...
577
+ def depart_block_quote(self, node: block_quote) -> Any: ...
578
+ def depart_bullet_list(self, node: bullet_list) -> Any: ...
579
+ def depart_caption(self, node: caption) -> Any: ...
580
+ def depart_caution(self, node: caution) -> Any: ...
581
+ def depart_citation(self, node: citation) -> Any: ...
582
+ def depart_citation_reference(self, node: citation_reference) -> Any: ...
583
+ def depart_classifier(self, node: classifier) -> Any: ...
584
+ def depart_colspec(self, node: colspec) -> Any: ...
585
+ def depart_comment(self, node: comment) -> Any: ...
586
+ def depart_compound(self, node: compound) -> Any: ...
587
+ def depart_contact(self, node: contact) -> Any: ...
588
+ def depart_container(self, node: container) -> Any: ...
589
+ def depart_copyright(self, node: copyright) -> Any: ...
590
+ def depart_danger(self, node: danger) -> Any: ...
591
+ def depart_date(self, node: date) -> Any: ...
592
+ def depart_decoration(self, node: decoration) -> Any: ...
593
+ def depart_definition(self, node: definition) -> Any: ...
594
+ def depart_definition_list(self, node: definition_list) -> Any: ...
595
+ def depart_definition_list_item(self, node: definition_list_item) -> Any: ...
596
+ def depart_description(self, node: description) -> Any: ...
597
+ def depart_docinfo(self, node: docinfo) -> Any: ...
598
+ def depart_doctest_block(self, node: doctest_block) -> Any: ...
599
+ def depart_document(self, node: _Document) -> Any: ...
600
+ def depart_emphasis(self, node: emphasis) -> Any: ...
601
+ def depart_entry(self, node: entry) -> Any: ...
602
+ def depart_enumerated_list(self, node: enumerated_list) -> Any: ...
603
+ def depart_error(self, node: error) -> Any: ...
604
+ def depart_field(self, node: field) -> Any: ...
605
+ def depart_field_body(self, node: field_body) -> Any: ...
606
+ def depart_field_list(self, node: field_list) -> Any: ...
607
+ def depart_field_name(self, node: field_name) -> Any: ...
608
+ def depart_figure(self, node: figure) -> Any: ...
609
+ def depart_footer(self, node: footer) -> Any: ...
610
+ def depart_footnote(self, node: footnote) -> Any: ...
611
+ def depart_footnote_reference(self, node: footnote_reference) -> Any: ...
612
+ def depart_generated(self, node: generated) -> Any: ...
613
+ def depart_header(self, node: header) -> Any: ...
614
+ def depart_hint(self, node: hint) -> Any: ...
615
+ def depart_image(self, node: image) -> Any: ...
616
+ def depart_important(self, node: important) -> Any: ...
617
+ def depart_inline(self, node: inline) -> Any: ...
618
+ def depart_label(self, node: label) -> Any: ...
619
+ def depart_legend(self, node: legend) -> Any: ...
620
+ def depart_line(self, node: line) -> Any: ...
621
+ def depart_line_block(self, node: line_block) -> Any: ...
622
+ def depart_list_item(self, node: list_item) -> Any: ...
623
+ def depart_literal(self, node: literal) -> Any: ...
624
+ def depart_literal_block(self, node: literal_block) -> Any: ...
625
+ def depart_math(self, node: math) -> Any: ...
626
+ def depart_math_block(self, node: math_block) -> Any: ...
627
+ def depart_meta(self, node: meta) -> Any: ...
628
+ def depart_note(self, node: note) -> Any: ...
629
+ def depart_option(self, node: option) -> Any: ...
630
+ def depart_option_argument(self, node: option_argument) -> Any: ...
631
+ def depart_option_group(self, node: option_group) -> Any: ...
632
+ def depart_option_list(self, node: option_list) -> Any: ...
633
+ def depart_option_list_item(self, node: option_list_item) -> Any: ...
634
+ def depart_option_string(self, node: option_string) -> Any: ...
635
+ def depart_organization(self, node: organization) -> Any: ...
636
+ def depart_paragraph(self, node: paragraph) -> Any: ...
637
+ def depart_pending(self, node: pending) -> Any: ...
638
+ def depart_problematic(self, node: problematic) -> Any: ...
639
+ def depart_raw(self, node: raw) -> Any: ...
640
+ def depart_reference(self, node: reference) -> Any: ...
641
+ def depart_revision(self, node: revision) -> Any: ...
642
+ def depart_row(self, node: row) -> Any: ...
643
+ def depart_rubric(self, node: rubric) -> Any: ...
644
+ def depart_section(self, node: section) -> Any: ...
645
+ def depart_sidebar(self, node: sidebar) -> Any: ...
646
+ def depart_status(self, node: status) -> Any: ...
647
+ def depart_strong(self, node: strong) -> Any: ...
648
+ def depart_subscript(self, node: subscript) -> Any: ...
649
+ def depart_substitution_definition(self, node: substitution_definition) -> Any: ...
650
+ def depart_substitution_reference(self, node: substitution_reference) -> Any: ...
651
+ def depart_subtitle(self, node: subtitle) -> Any: ...
652
+ def depart_superscript(self, node: superscript) -> Any: ...
653
+ def depart_system_message(self, node: system_message) -> Any: ...
654
+ def depart_table(self, node: table) -> Any: ...
655
+ def depart_target(self, node: target) -> Any: ...
656
+ def depart_tbody(self, node: tbody) -> Any: ...
657
+ def depart_term(self, node: term) -> Any: ...
658
+ def depart_tgroup(self, node: tgroup) -> Any: ...
659
+ def depart_thead(self, node: thead) -> Any: ...
660
+ def depart_tip(self, node: tip) -> Any: ...
661
+ def depart_title(self, node: title) -> Any: ...
662
+ def depart_title_reference(self, node: title_reference) -> Any: ...
663
+ def depart_topic(self, node: topic) -> Any: ...
664
+ def depart_transition(self, node: transition) -> Any: ...
665
+ def depart_version(self, node: version) -> Any: ...
666
+ def depart_warning(self, node: warning) -> Any: ...
667
+
465
668
  class SparseNodeVisitor(NodeVisitor): ...
466
669
 
467
670
  class GenericNodeVisitor(NodeVisitor):
468
- # all the visit_<node_class_name> methods
469
- def __getattr__(self, name: str, /) -> Incomplete: ...
671
+ def default_visit(self, node: Node) -> None: ...
672
+ def default_departure(self, node: Node) -> None: ...
470
673
 
471
674
  class TreeCopyVisitor(GenericNodeVisitor):
472
675
  parent_stack: list[Node]
@@ -1,15 +1,17 @@
1
- from typing import Any, ClassVar
1
+ from typing import ClassVar, Final
2
2
 
3
3
  from docutils import Component
4
- from docutils.nodes import document as _document
4
+ from docutils.nodes import _Document
5
+
6
+ __docformat__: Final = "reStructuredText"
5
7
 
6
8
  class Parser(Component):
7
9
  component_type: ClassVar[str]
8
10
  config_section: ClassVar[str]
9
- inputstring: Any # defined after call to setup_parse()
10
- document: Any # defined after call to setup_parse()
11
- def parse(self, inputstring: str, document: _document) -> None: ...
12
- def setup_parse(self, inputstring: str, document: _document) -> None: ...
11
+ inputstring: str # defined after call to setup_parse()
12
+ document: _Document # defined after call to setup_parse()
13
+ def parse(self, inputstring: str, document: _Document) -> None: ...
14
+ def setup_parse(self, inputstring: str, document: _Document) -> None: ...
13
15
  def finish_parse(self) -> None: ...
14
16
 
15
17
  _parser_aliases: dict[str, str]
@@ -3,4 +3,5 @@ from typing import ClassVar
3
3
  from docutils import parsers
4
4
 
5
5
  class Parser(parsers.Parser):
6
+ supported: ClassVar[tuple[str, ...]]
6
7
  config_section_dependencies: ClassVar[tuple[str, ...]]
@@ -1 +1,50 @@
1
- def __getattr__(name: str): ... # incomplete module
1
+ from types import ModuleType
2
+ from typing import ClassVar
3
+
4
+ from docutils import nodes
5
+ from docutils.transforms import Transform
6
+
7
+ class pending_xref(nodes.Inline, nodes.Element): ...
8
+
9
+ sphinx: ModuleType
10
+
11
+ def is_literal(node: nodes.Node) -> bool: ...
12
+
13
+ class _CommonMarkParser:
14
+ default_config: ClassVar[dict[str, None]]
15
+ def __init__(self) -> None: ...
16
+ def convert_ast(self, ast): ...
17
+ def default_visit(self, mdnode): ...
18
+ def default_depart(self, mdnode): ...
19
+ def visit_heading(self, mdnode): ...
20
+ def depart_heading(self, _): ...
21
+ def visit_text(self, mdnode): ...
22
+ def visit_softbreak(self, _): ...
23
+ def visit_linebreak(self, _): ...
24
+ def visit_paragraph(self, mdnode): ...
25
+ def visit_emph(self, _): ...
26
+ def visit_strong(self, _): ...
27
+ def visit_code(self, mdnode): ...
28
+ def visit_link(self, mdnode): ...
29
+ def depart_link(self, mdnode): ...
30
+ def visit_image(self, mdnode): ...
31
+ def visit_list(self, mdnode): ...
32
+ def visit_item(self, mdnode): ...
33
+ def visit_code_block(self, mdnode): ...
34
+ def visit_block_quote(self, mdnode): ...
35
+ def visit_html(self, mdnode): ...
36
+ def visit_html_inline(self, mdnode): ...
37
+ def visit_html_block(self, mdnode): ...
38
+ def visit_thematic_break(self, _): ...
39
+ def setup_sections(self): ...
40
+ def add_section(self, section, level): ...
41
+ def is_section_level(self, level, section): ...
42
+
43
+ class Parser(_CommonMarkParser):
44
+ supported: ClassVar[tuple[str, ...]]
45
+ config_section: ClassVar[str]
46
+ config_section_dependencies: ClassVar[tuple[str, ...]]
47
+ def get_transforms(self) -> list[type[Transform]]: ...
48
+ def parse(self, inputstring: str, document: nodes.document) -> None: ...
49
+ def visit_document(self, node) -> None: ...
50
+ def visit_text(self, mdnode) -> None: ...
@@ -1,19 +1,22 @@
1
1
  from _typeshed import Incomplete
2
2
  from collections.abc import Callable, Sequence
3
- from typing import Any, ClassVar, Literal
3
+ from typing import Any, ClassVar, Final, Literal
4
4
  from typing_extensions import TypeAlias
5
5
 
6
6
  from docutils import nodes, parsers
7
7
  from docutils.parsers.rst.states import Inliner, RSTState, RSTStateMachine
8
8
  from docutils.statemachine import StringList
9
9
  from docutils.transforms import Transform
10
+ from docutils.utils import Reporter
11
+
12
+ __docformat__: Final = "reStructuredText"
10
13
 
11
14
  class Parser(parsers.Parser):
12
- settings_spec: ClassVar[Incomplete]
13
15
  config_section_dependencies: ClassVar[tuple[str, ...]]
14
16
  initial_state: Literal["Body", "RFC2822Body"]
15
17
  state_classes: Sequence[type[RSTState]]
16
18
  inliner: Inliner | None
19
+ statemachine: RSTStateMachine
17
20
  def __init__(self, rfc2822: bool = False, inliner: Inliner | None = None) -> None: ...
18
21
  def get_transforms(self) -> list[type[Transform]]: ...
19
22
  def parse(self, inputstring: str, document: nodes.document) -> None: ...
@@ -27,22 +30,23 @@ class Directive:
27
30
  required_arguments: ClassVar[int]
28
31
  optional_arguments: ClassVar[int]
29
32
  final_argument_whitespace: ClassVar[bool]
30
- option_spec: ClassVar[dict[str, Callable[[str], Any]] | None]
33
+ option_spec: ClassVar[dict[str, Callable[[str], Incomplete]] | None]
31
34
  has_content: ClassVar[bool]
32
35
  name: str
33
36
  arguments: list[str]
34
- options: dict[str, Any]
37
+ options: dict[str, Incomplete]
35
38
  content: StringList
36
39
  lineno: int
37
40
  content_offset: int
38
41
  block_text: str
39
42
  state: RSTState
40
43
  state_machine: RSTStateMachine = ...
44
+ reporter: Reporter
41
45
  def __init__(
42
46
  self,
43
47
  name: str,
44
48
  arguments: list[str],
45
- options: dict[str, Any],
49
+ options: dict[str, Incomplete],
46
50
  content: StringList,
47
51
  lineno: int,
48
52
  content_offset: int,
@@ -1,12 +1,14 @@
1
1
  from collections.abc import Callable, Container, Iterable, Sequence
2
2
  from re import Pattern
3
- from typing import Literal
3
+ from typing import Final, Literal
4
4
 
5
5
  from docutils.languages import _LanguageModule
6
6
  from docutils.nodes import document, system_message
7
7
  from docutils.parsers import Parser
8
8
  from docutils.parsers.rst import Directive
9
9
 
10
+ __docformat__: Final = "reStructuredText"
11
+
10
12
  def register_directive(name: str, directive: type[Directive]) -> None: ...
11
13
  def directive(
12
14
  directive_name: str, language_module: _LanguageModule, document: document
@@ -19,14 +21,14 @@ def uri(argument: str) -> str: ...
19
21
  def nonnegative_int(argument: str) -> int: ...
20
22
  def percentage(argument: str) -> int: ...
21
23
 
22
- length_units: list[str]
24
+ length_units: Final[list[str]]
23
25
 
24
26
  def get_measure(argument: str, units: Iterable[str]) -> str: ...
25
27
  def length_or_unitless(argument: str) -> str: ...
26
28
  def length_or_percentage_or_unitless(argument: str, default: str = "") -> str: ...
27
29
  def class_option(argument: str) -> list[str]: ...
28
30
 
29
- unicode_pattern: Pattern[str]
31
+ unicode_pattern: Final[Pattern[str]]
30
32
 
31
33
  def unicode_code(code: str) -> str: ...
32
34
  def single_char_or_unicode(argument: str) -> str: ...
@@ -1,16 +1,39 @@
1
+ from typing import Final
2
+
1
3
  from docutils import nodes
2
4
  from docutils.parsers.rst import Directive
3
5
 
6
+ __docformat__: Final = "reStructuredText"
7
+
4
8
  class BaseAdmonition(Directive):
5
9
  node_class: type[nodes.Admonition] # Subclasses must set this to the appropriate admonition node class.
6
10
 
7
- class Admonition(BaseAdmonition): ...
8
- class Attention(BaseAdmonition): ...
9
- class Caution(BaseAdmonition): ...
10
- class Danger(BaseAdmonition): ...
11
- class Error(BaseAdmonition): ...
12
- class Hint(BaseAdmonition): ...
13
- class Important(BaseAdmonition): ...
14
- class Note(BaseAdmonition): ...
15
- class Tip(BaseAdmonition): ...
16
- class Warning(BaseAdmonition): ...
11
+ class Admonition(BaseAdmonition):
12
+ node_class: type[nodes.admonition]
13
+
14
+ class Attention(BaseAdmonition):
15
+ node_class: type[nodes.attention]
16
+
17
+ class Caution(BaseAdmonition):
18
+ node_class: type[nodes.caution]
19
+
20
+ class Danger(BaseAdmonition):
21
+ node_class: type[nodes.danger]
22
+
23
+ class Error(BaseAdmonition):
24
+ node_class: type[nodes.error]
25
+
26
+ class Hint(BaseAdmonition):
27
+ node_class: type[nodes.hint]
28
+
29
+ class Important(BaseAdmonition):
30
+ node_class: type[nodes.important]
31
+
32
+ class Note(BaseAdmonition):
33
+ node_class: type[nodes.note]
34
+
35
+ class Tip(BaseAdmonition):
36
+ node_class: type[nodes.tip]
37
+
38
+ class Warning(BaseAdmonition):
39
+ node_class: type[nodes.warning]
@@ -1 +1,64 @@
1
- def __getattr__(name: str): ... # incomplete module
1
+ from collections.abc import Callable
2
+ from typing import ClassVar, Final
3
+ from typing_extensions import TypeAlias
4
+
5
+ from docutils import nodes
6
+ from docutils.parsers.rst import Directive
7
+
8
+ __docformat__: Final = "reStructuredText"
9
+
10
+ _DirectiveFn: TypeAlias = Callable[[str], str | list[str]]
11
+
12
+ class BasePseudoSection(Directive):
13
+ option_spec: ClassVar[dict[str, _DirectiveFn]]
14
+ node_class: ClassVar[type[nodes.Node] | None]
15
+ def run(self): ...
16
+
17
+ class Topic(BasePseudoSection):
18
+ node_class: ClassVar[type[nodes.Node]]
19
+
20
+ class Sidebar(BasePseudoSection):
21
+ node_class: ClassVar[type[nodes.Node]]
22
+ option_spec: ClassVar[dict[str, _DirectiveFn]]
23
+ def run(self): ...
24
+
25
+ class LineBlock(Directive):
26
+ option_spec: ClassVar[dict[str, _DirectiveFn]]
27
+ def run(self): ...
28
+
29
+ class ParsedLiteral(Directive):
30
+ option_spec: ClassVar[dict[str, _DirectiveFn]]
31
+ def run(self): ...
32
+
33
+ class CodeBlock(Directive):
34
+ option_spec: ClassVar[dict[str, _DirectiveFn]]
35
+ def run(self): ...
36
+
37
+ class MathBlock(Directive):
38
+ option_spec: ClassVar[dict[str, _DirectiveFn]]
39
+ def run(self): ...
40
+
41
+ class Rubric(Directive):
42
+ option_spec: ClassVar[dict[str, _DirectiveFn]]
43
+ def run(self): ...
44
+
45
+ class BlockQuote(Directive):
46
+ classes: ClassVar[list[str]]
47
+ def run(self): ...
48
+
49
+ class Epigraph(BlockQuote):
50
+ classes: ClassVar[list[str]]
51
+
52
+ class Highlights(BlockQuote):
53
+ classes: ClassVar[list[str]]
54
+
55
+ class PullQuote(BlockQuote):
56
+ classes: ClassVar[list[str]]
57
+
58
+ class Compound(Directive):
59
+ option_spec: ClassVar[dict[str, _DirectiveFn]]
60
+ def run(self): ...
61
+
62
+ class Container(Directive):
63
+ option_spec: ClassVar[dict[str, _DirectiveFn]]
64
+ def run(self): ...
@@ -1 +1,5 @@
1
- def __getattr__(name: str): ... # incomplete module
1
+ from typing import Final
2
+
3
+ from docutils.parsers.rst.directives.misc import Meta as Meta, MetaBody as MetaBody
4
+
5
+ __docformat__: Final = "reStructuredText"