basedpyright 1.31.5 → 1.31.6

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 (771) hide show
  1. package/dist/pyright-langserver.js +1 -1
  2. package/dist/pyright-langserver.js.map +1 -1
  3. package/dist/pyright.js +1 -1
  4. package/dist/pyright.js.map +1 -1
  5. package/dist/typeshed-fallback/commit.txt +1 -1
  6. package/dist/typeshed-fallback/stdlib/_ast.pyi +5 -5
  7. package/dist/typeshed-fallback/stdlib/_asyncio.pyi +7 -5
  8. package/dist/typeshed-fallback/stdlib/_blake2.pyi +88 -45
  9. package/dist/typeshed-fallback/stdlib/_collections_abc.pyi +4 -6
  10. package/dist/typeshed-fallback/stdlib/_compat_pickle.pyi +10 -8
  11. package/dist/typeshed-fallback/stdlib/_csv.pyi +5 -2
  12. package/dist/typeshed-fallback/stdlib/_ctypes.pyi +11 -11
  13. package/dist/typeshed-fallback/stdlib/_curses.pyi +270 -270
  14. package/dist/typeshed-fallback/stdlib/_curses_panel.pyi +3 -3
  15. package/dist/typeshed-fallback/stdlib/_dbm.pyi +3 -3
  16. package/dist/typeshed-fallback/stdlib/_decimal.pyi +8 -8
  17. package/dist/typeshed-fallback/stdlib/_frozen_importlib_external.pyi +12 -11
  18. package/dist/typeshed-fallback/stdlib/_hashlib.pyi +2 -1
  19. package/dist/typeshed-fallback/stdlib/_interpreters.pyi +25 -19
  20. package/dist/typeshed-fallback/stdlib/_io.pyi +222 -164
  21. package/dist/typeshed-fallback/stdlib/_lsprof.pyi +2 -0
  22. package/dist/typeshed-fallback/stdlib/_lzma.pyi +6 -6
  23. package/dist/typeshed-fallback/stdlib/_msi.pyi +39 -39
  24. package/dist/typeshed-fallback/stdlib/_multibytecodec.pyi +5 -0
  25. package/dist/typeshed-fallback/stdlib/_pickle.pyi +3 -1
  26. package/dist/typeshed-fallback/stdlib/_queue.pyi +2 -0
  27. package/dist/typeshed-fallback/stdlib/_random.pyi +8 -2
  28. package/dist/typeshed-fallback/stdlib/_socket.pyi +2 -1
  29. package/dist/typeshed-fallback/stdlib/_ssl.pyi +2 -2
  30. package/dist/typeshed-fallback/stdlib/_struct.pyi +2 -1
  31. package/dist/typeshed-fallback/stdlib/_thread.pyi +3 -2
  32. package/dist/typeshed-fallback/stdlib/_threading_local.pyi +2 -0
  33. package/dist/typeshed-fallback/stdlib/_tkinter.pyi +20 -20
  34. package/dist/typeshed-fallback/stdlib/_typeshed/__init__.pyi +13 -2
  35. package/dist/typeshed-fallback/stdlib/_warnings.pyi +7 -7
  36. package/dist/typeshed-fallback/stdlib/_winapi.pyi +14 -14
  37. package/dist/typeshed-fallback/stdlib/_zstd.pyi +5 -5
  38. package/dist/typeshed-fallback/stdlib/abc.pyi +3 -3
  39. package/dist/typeshed-fallback/stdlib/annotationlib.pyi +15 -1
  40. package/dist/typeshed-fallback/stdlib/argparse.pyi +2 -2
  41. package/dist/typeshed-fallback/stdlib/array.pyi +2 -1
  42. package/dist/typeshed-fallback/stdlib/ast.pyi +32 -24
  43. package/dist/typeshed-fallback/stdlib/asyncio/base_events.pyi +13 -13
  44. package/dist/typeshed-fallback/stdlib/asyncio/events.pyi +41 -33
  45. package/dist/typeshed-fallback/stdlib/asyncio/graph.pyi +19 -17
  46. package/dist/typeshed-fallback/stdlib/asyncio/protocols.pyi +6 -0
  47. package/dist/typeshed-fallback/stdlib/asyncio/runners.pyi +1 -1
  48. package/dist/typeshed-fallback/stdlib/asyncio/streams.pyi +4 -4
  49. package/dist/typeshed-fallback/stdlib/asyncio/subprocess.pyi +6 -6
  50. package/dist/typeshed-fallback/stdlib/asyncio/tasks.pyi +4 -4
  51. package/dist/typeshed-fallback/stdlib/asyncio/tools.pyi +5 -0
  52. package/dist/typeshed-fallback/stdlib/asyncio/transports.pyi +8 -1
  53. package/dist/typeshed-fallback/stdlib/asyncio/trsock.pyi +18 -12
  54. package/dist/typeshed-fallback/stdlib/asyncio/unix_events.pyi +6 -6
  55. package/dist/typeshed-fallback/stdlib/asyncio/windows_events.pyi +1 -1
  56. package/dist/typeshed-fallback/stdlib/asyncio/windows_utils.pyi +5 -5
  57. package/dist/typeshed-fallback/stdlib/binascii.pyi +2 -2
  58. package/dist/typeshed-fallback/stdlib/builtins.pyi +48 -11
  59. package/dist/typeshed-fallback/stdlib/calendar.pyi +19 -19
  60. package/dist/typeshed-fallback/stdlib/cgi.pyi +5 -4
  61. package/dist/typeshed-fallback/stdlib/codecs.pyi +60 -28
  62. package/dist/typeshed-fallback/stdlib/collections/__init__.pyi +13 -4
  63. package/dist/typeshed-fallback/stdlib/colorsys.pyi +5 -3
  64. package/dist/typeshed-fallback/stdlib/compression/zstd/__init__.pyi +1 -0
  65. package/dist/typeshed-fallback/stdlib/concurrent/futures/_base.pyi +1 -2
  66. package/dist/typeshed-fallback/stdlib/concurrent/futures/process.pyi +3 -3
  67. package/dist/typeshed-fallback/stdlib/concurrent/interpreters/_crossinterp.pyi +1 -0
  68. package/dist/typeshed-fallback/stdlib/concurrent/interpreters/_queues.pyi +25 -9
  69. package/dist/typeshed-fallback/stdlib/configparser.pyi +8 -5
  70. package/dist/typeshed-fallback/stdlib/contextlib.pyi +2 -0
  71. package/dist/typeshed-fallback/stdlib/crypt.pyi +7 -1
  72. package/dist/typeshed-fallback/stdlib/ctypes/__init__.pyi +10 -4
  73. package/dist/typeshed-fallback/stdlib/ctypes/_endian.pyi +6 -2
  74. package/dist/typeshed-fallback/stdlib/ctypes/macholib/__init__.pyi +3 -1
  75. package/dist/typeshed-fallback/stdlib/ctypes/wintypes.pyi +2 -2
  76. package/dist/typeshed-fallback/stdlib/curses/__init__.pyi +3 -2
  77. package/dist/typeshed-fallback/stdlib/curses/ascii.pyi +38 -38
  78. package/dist/typeshed-fallback/stdlib/dataclasses.pyi +34 -2
  79. package/dist/typeshed-fallback/stdlib/datetime.pyi +5 -1
  80. package/dist/typeshed-fallback/stdlib/dbm/sqlite3.pyi +1 -1
  81. package/dist/typeshed-fallback/stdlib/decimal.pyi +3 -1
  82. package/dist/typeshed-fallback/stdlib/dis.pyi +65 -59
  83. package/dist/typeshed-fallback/stdlib/distutils/file_util.pyi +2 -2
  84. package/dist/typeshed-fallback/stdlib/doctest.pyi +17 -17
  85. package/dist/typeshed-fallback/stdlib/email/_header_value_parser.pyi +1 -1
  86. package/dist/typeshed-fallback/stdlib/email/charset.pyi +10 -3
  87. package/dist/typeshed-fallback/stdlib/enum.pyi +41 -18
  88. package/dist/typeshed-fallback/stdlib/errno.pyi +204 -202
  89. package/dist/typeshed-fallback/stdlib/faulthandler.pyi +9 -3
  90. package/dist/typeshed-fallback/stdlib/filecmp.pyi +1 -1
  91. package/dist/typeshed-fallback/stdlib/fractions.pyi +1 -0
  92. package/dist/typeshed-fallback/stdlib/functools.pyi +14 -7
  93. package/dist/typeshed-fallback/stdlib/gettext.pyi +9 -9
  94. package/dist/typeshed-fallback/stdlib/glob.pyi +6 -2
  95. package/dist/typeshed-fallback/stdlib/hmac.pyi +1 -0
  96. package/dist/typeshed-fallback/stdlib/html/entities.pyi +6 -4
  97. package/dist/typeshed-fallback/stdlib/http/client.pyi +69 -69
  98. package/dist/typeshed-fallback/stdlib/http/server.pyi +21 -9
  99. package/dist/typeshed-fallback/stdlib/imp.pyi +11 -11
  100. package/dist/typeshed-fallback/stdlib/importlib/abc.pyi +2 -2
  101. package/dist/typeshed-fallback/stdlib/importlib/metadata/__init__.pyi +46 -19
  102. package/dist/typeshed-fallback/stdlib/importlib/resources/_common.pyi +1 -1
  103. package/dist/typeshed-fallback/stdlib/inspect.pyi +61 -27
  104. package/dist/typeshed-fallback/stdlib/io.pyi +2 -0
  105. package/dist/typeshed-fallback/stdlib/ipaddress.pyi +7 -1
  106. package/dist/typeshed-fallback/stdlib/itertools.pyi +20 -2
  107. package/dist/typeshed-fallback/stdlib/lib2to3/fixes/fix_tuple_params.pyi +1 -2
  108. package/dist/typeshed-fallback/stdlib/logging/__init__.pyi +4 -4
  109. package/dist/typeshed-fallback/stdlib/logging/config.pyi +19 -8
  110. package/dist/typeshed-fallback/stdlib/logging/handlers.pyi +6 -6
  111. package/dist/typeshed-fallback/stdlib/mmap.pyi +3 -2
  112. package/dist/typeshed-fallback/stdlib/msilib/__init__.pyi +14 -14
  113. package/dist/typeshed-fallback/stdlib/msilib/schema.pyi +2 -1
  114. package/dist/typeshed-fallback/stdlib/msilib/sequence.pyi +7 -6
  115. package/dist/typeshed-fallback/stdlib/msilib/text.pyi +4 -3
  116. package/dist/typeshed-fallback/stdlib/msvcrt.pyi +4 -4
  117. package/dist/typeshed-fallback/stdlib/multiprocessing/managers.pyi +1 -0
  118. package/dist/typeshed-fallback/stdlib/multiprocessing/shared_memory.pyi +1 -1
  119. package/dist/typeshed-fallback/stdlib/multiprocessing/util.pyi +1 -1
  120. package/dist/typeshed-fallback/stdlib/nturl2path.pyi +2 -2
  121. package/dist/typeshed-fallback/stdlib/numbers.pyi +5 -0
  122. package/dist/typeshed-fallback/stdlib/opcode.pyi +16 -16
  123. package/dist/typeshed-fallback/stdlib/os/__init__.pyi +187 -186
  124. package/dist/typeshed-fallback/stdlib/ossaudiodev.pyi +114 -113
  125. package/dist/typeshed-fallback/stdlib/pathlib/__init__.pyi +43 -5
  126. package/dist/typeshed-fallback/stdlib/pdb.pyi +6 -2
  127. package/dist/typeshed-fallback/stdlib/pickle.pyi +73 -73
  128. package/dist/typeshed-fallback/stdlib/pickletools.pyi +9 -6
  129. package/dist/typeshed-fallback/stdlib/platform.pyi +19 -9
  130. package/dist/typeshed-fallback/stdlib/plistlib.pyi +3 -3
  131. package/dist/typeshed-fallback/stdlib/poplib.pyi +1 -1
  132. package/dist/typeshed-fallback/stdlib/pydoc.pyi +3 -3
  133. package/dist/typeshed-fallback/stdlib/pydoc_data/topics.pyi +3 -1
  134. package/dist/typeshed-fallback/stdlib/random.pyi +5 -0
  135. package/dist/typeshed-fallback/stdlib/resource.pyi +21 -20
  136. package/dist/typeshed-fallback/stdlib/select.pyi +68 -68
  137. package/dist/typeshed-fallback/stdlib/selectors.pyi +3 -3
  138. package/dist/typeshed-fallback/stdlib/smtplib.pyi +7 -7
  139. package/dist/typeshed-fallback/stdlib/socket.pyi +78 -77
  140. package/dist/typeshed-fallback/stdlib/sqlite3/__init__.pyi +4 -1
  141. package/dist/typeshed-fallback/stdlib/sqlite3/dbapi2.pyi +11 -6
  142. package/dist/typeshed-fallback/stdlib/sre_compile.pyi +2 -2
  143. package/dist/typeshed-fallback/stdlib/sre_constants.pyi +11 -4
  144. package/dist/typeshed-fallback/stdlib/sre_parse.pyi +15 -15
  145. package/dist/typeshed-fallback/stdlib/ssl.pyi +2 -2
  146. package/dist/typeshed-fallback/stdlib/statistics.pyi +1 -0
  147. package/dist/typeshed-fallback/stdlib/string/__init__.pyi +10 -10
  148. package/dist/typeshed-fallback/stdlib/stringprep.pyi +9 -7
  149. package/dist/typeshed-fallback/stdlib/subprocess.pyi +63 -63
  150. package/dist/typeshed-fallback/stdlib/sunau.pyi +15 -15
  151. package/dist/typeshed-fallback/stdlib/symbol.pyi +95 -93
  152. package/dist/typeshed-fallback/stdlib/symtable.pyi +5 -2
  153. package/dist/typeshed-fallback/stdlib/sys/__init__.pyi +9 -1
  154. package/dist/typeshed-fallback/stdlib/sys/_monitoring.pyi +5 -5
  155. package/dist/typeshed-fallback/stdlib/tarfile.pyi +26 -4
  156. package/dist/typeshed-fallback/stdlib/telnetlib.pyi +75 -75
  157. package/dist/typeshed-fallback/stdlib/tempfile.pyi +2 -2
  158. package/dist/typeshed-fallback/stdlib/threading.pyi +10 -10
  159. package/dist/typeshed-fallback/stdlib/time.pyi +13 -13
  160. package/dist/typeshed-fallback/stdlib/tkinter/__init__.pyi +704 -711
  161. package/dist/typeshed-fallback/stdlib/tkinter/messagebox.pyi +3 -3
  162. package/dist/typeshed-fallback/stdlib/tkinter/ttk.pyi +300 -167
  163. package/dist/typeshed-fallback/stdlib/tokenize.pyi +48 -41
  164. package/dist/typeshed-fallback/stdlib/tomllib.pyi +1 -1
  165. package/dist/typeshed-fallback/stdlib/traceback.pyi +18 -1
  166. package/dist/typeshed-fallback/stdlib/tracemalloc.pyi +5 -0
  167. package/dist/typeshed-fallback/stdlib/turtle.pyi +41 -15
  168. package/dist/typeshed-fallback/stdlib/types.pyi +60 -31
  169. package/dist/typeshed-fallback/stdlib/typing.pyi +50 -17
  170. package/dist/typeshed-fallback/stdlib/typing_extensions.pyi +14 -1
  171. package/dist/typeshed-fallback/stdlib/unicodedata.pyi +2 -2
  172. package/dist/typeshed-fallback/stdlib/unittest/loader.pyi +35 -18
  173. package/dist/typeshed-fallback/stdlib/unittest/main.pyi +5 -2
  174. package/dist/typeshed-fallback/stdlib/unittest/mock.pyi +153 -67
  175. package/dist/typeshed-fallback/stdlib/unittest/util.pyi +6 -6
  176. package/dist/typeshed-fallback/stdlib/urllib/parse.pyi +17 -11
  177. package/dist/typeshed-fallback/stdlib/uuid.pyi +1 -0
  178. package/dist/typeshed-fallback/stdlib/venv/__init__.pyi +2 -1
  179. package/dist/typeshed-fallback/stdlib/wave.pyi +23 -11
  180. package/dist/typeshed-fallback/stdlib/weakref.pyi +5 -1
  181. package/dist/typeshed-fallback/stdlib/webbrowser.pyi +10 -4
  182. package/dist/typeshed-fallback/stdlib/winreg.pyi +7 -7
  183. package/dist/typeshed-fallback/stdlib/wsgiref/headers.pyi +2 -2
  184. package/dist/typeshed-fallback/stdlib/wsgiref/simple_server.pyi +4 -4
  185. package/dist/typeshed-fallback/stdlib/xml/dom/NodeFilter.pyi +17 -17
  186. package/dist/typeshed-fallback/stdlib/xml/dom/__init__.pyi +17 -16
  187. package/dist/typeshed-fallback/stdlib/xml/dom/expatbuilder.pyi +13 -8
  188. package/dist/typeshed-fallback/stdlib/xml/dom/minicompat.pyi +2 -0
  189. package/dist/typeshed-fallback/stdlib/xml/dom/minidom.pyi +26 -0
  190. package/dist/typeshed-fallback/stdlib/xml/dom/pulldom.pyi +1 -1
  191. package/dist/typeshed-fallback/stdlib/xml/dom/xmlbuilder.pyi +13 -11
  192. package/dist/typeshed-fallback/stdlib/xml/etree/ElementInclude.pyi +4 -3
  193. package/dist/typeshed-fallback/stdlib/xml/etree/ElementPath.pyi +3 -3
  194. package/dist/typeshed-fallback/stdlib/xml/etree/ElementTree.pyi +9 -8
  195. package/dist/typeshed-fallback/stdlib/xml/sax/__init__.pyi +2 -2
  196. package/dist/typeshed-fallback/stdlib/xml/sax/expatreader.pyi +2 -2
  197. package/dist/typeshed-fallback/stdlib/xml/sax/handler.pyi +16 -16
  198. package/dist/typeshed-fallback/stdlib/zipfile/__init__.pyi +27 -4
  199. package/dist/typeshed-fallback/stdlib/zipfile/_path/glob.pyi +5 -1
  200. package/dist/typeshed-fallback/stdlib/zoneinfo/__init__.pyi +2 -1
  201. package/dist/typeshed-fallback/stubs/Authlib/METADATA.toml +1 -1
  202. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/errors.pyi +4 -0
  203. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7517/key_set.pyi +1 -1
  204. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/client.pyi +2 -1
  205. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/requests.pyi +9 -1
  206. package/dist/typeshed-fallback/stubs/Jetson.GPIO/Jetson/GPIO/gpio.pyi +2 -2
  207. package/dist/typeshed-fallback/stubs/Jetson.GPIO/Jetson/GPIO/gpio_event.pyi +1 -1
  208. package/dist/typeshed-fallback/stubs/Jetson.GPIO/Jetson/GPIO/gpio_pin_data.pyi +26 -22
  209. package/dist/typeshed-fallback/stubs/Jetson.GPIO/METADATA.toml +1 -1
  210. package/dist/typeshed-fallback/stubs/Markdown/METADATA.toml +1 -1
  211. package/dist/typeshed-fallback/stubs/Markdown/markdown/extensions/footnotes.pyi +11 -0
  212. package/dist/typeshed-fallback/stubs/PyMeeus/METADATA.toml +2 -0
  213. package/dist/typeshed-fallback/stubs/PyMeeus/pymeeus/Angle.pyi +95 -0
  214. package/dist/typeshed-fallback/stubs/PyMeeus/pymeeus/Coordinates.pyi +192 -0
  215. package/dist/typeshed-fallback/stubs/PyMeeus/pymeeus/CurveFitting.pyi +43 -0
  216. package/dist/typeshed-fallback/stubs/PyMeeus/pymeeus/Earth.pyi +64 -0
  217. package/dist/typeshed-fallback/stubs/PyMeeus/pymeeus/Epoch.pyi +129 -0
  218. package/dist/typeshed-fallback/stubs/PyMeeus/pymeeus/Interpolation.pyi +42 -0
  219. package/dist/typeshed-fallback/stubs/PyMeeus/pymeeus/Jupiter.pyi +38 -0
  220. package/dist/typeshed-fallback/stubs/PyMeeus/pymeeus/JupiterMoons.pyi +78 -0
  221. package/dist/typeshed-fallback/stubs/PyMeeus/pymeeus/Mars.pyi +38 -0
  222. package/dist/typeshed-fallback/stubs/PyMeeus/pymeeus/Mercury.pyi +42 -0
  223. package/dist/typeshed-fallback/stubs/PyMeeus/pymeeus/Minor.pyi +10 -0
  224. package/dist/typeshed-fallback/stubs/PyMeeus/pymeeus/Moon.pyi +39 -0
  225. package/dist/typeshed-fallback/stubs/PyMeeus/pymeeus/Neptune.pyi +30 -0
  226. package/dist/typeshed-fallback/stubs/PyMeeus/pymeeus/Pluto.pyi +17 -0
  227. package/dist/typeshed-fallback/stubs/PyMeeus/pymeeus/Saturn.pyi +44 -0
  228. package/dist/typeshed-fallback/stubs/PyMeeus/pymeeus/Sun.pyi +35 -0
  229. package/dist/typeshed-fallback/stubs/PyMeeus/pymeeus/Uranus.pyi +34 -0
  230. package/dist/typeshed-fallback/stubs/PyMeeus/pymeeus/Venus.pyi +44 -0
  231. package/dist/typeshed-fallback/stubs/PyMeeus/pymeeus/__init__.pyi +0 -0
  232. package/dist/typeshed-fallback/stubs/PyMeeus/pymeeus/base.pyi +8 -0
  233. package/dist/typeshed-fallback/stubs/PyMySQL/pymysql/connections.pyi +131 -116
  234. package/dist/typeshed-fallback/stubs/PyMySQL/pymysql/cursors.pyi +2 -1
  235. package/dist/typeshed-fallback/stubs/PyMySQL/pymysql/protocol.pyi +1 -0
  236. package/dist/typeshed-fallback/stubs/PySocks/METADATA.toml +2 -0
  237. package/dist/typeshed-fallback/stubs/PySocks/socks.pyi +143 -0
  238. package/dist/typeshed-fallback/stubs/PySocks/sockshandler.pyi +102 -0
  239. package/dist/typeshed-fallback/stubs/PyYAML/yaml/__init__.pyi +1 -0
  240. package/dist/typeshed-fallback/stubs/PyYAML/yaml/_yaml.pyi +4 -1
  241. package/dist/typeshed-fallback/stubs/PyYAML/yaml/emitter.pyi +18 -14
  242. package/dist/typeshed-fallback/stubs/WebOb/webob/cachecontrol.pyi +5 -2
  243. package/dist/typeshed-fallback/stubs/WebOb/webob/cookies.pyi +1 -0
  244. package/dist/typeshed-fallback/stubs/WebOb/webob/multidict.pyi +3 -3
  245. package/dist/typeshed-fallback/stubs/aiofiles/aiofiles/base.pyi +1 -0
  246. package/dist/typeshed-fallback/stubs/aiofiles/aiofiles/os.pyi +10 -10
  247. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/BufferedTokenStream.pyi +1 -0
  248. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/CommonTokenFactory.pyi +1 -0
  249. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/CommonTokenStream.pyi +1 -0
  250. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/FileStream.pyi +1 -0
  251. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/InputStream.pyi +1 -0
  252. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/IntervalSet.pyi +1 -0
  253. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/LL1Analyzer.pyi +1 -0
  254. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/Lexer.pyi +16 -0
  255. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/ListTokenSource.pyi +1 -0
  256. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/Parser.pyi +12 -0
  257. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/ParserInterpreter.pyi +10 -0
  258. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/ParserRuleContext.pyi +1 -0
  259. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/Recognizer.pyi +1 -0
  260. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/RuleContext.pyi +1 -0
  261. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/Token.pyi +1 -0
  262. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/TokenStreamRewriter.pyi +3 -0
  263. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/atn/ATN.pyi +12 -0
  264. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/atn/ATNConfig.pyi +2 -0
  265. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/atn/ATNConfigSet.pyi +11 -0
  266. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/atn/ATNDeserializationOptions.pyi +1 -0
  267. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/atn/ATNDeserializer.pyi +1 -0
  268. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/atn/ATNSimulator.pyi +1 -0
  269. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/atn/ATNState.pyi +8 -0
  270. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/atn/LexerATNSimulator.pyi +2 -0
  271. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/atn/LexerAction.pyi +7 -0
  272. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/atn/LexerActionExecutor.pyi +1 -0
  273. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/atn/ParserATNSimulator.pyi +1 -0
  274. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/atn/SemanticContext.pyi +3 -0
  275. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/atn/Transition.pyi +10 -0
  276. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/dfa/DFA.pyi +1 -0
  277. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/dfa/DFASerializer.pyi +1 -0
  278. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/dfa/DFAState.pyi +11 -0
  279. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/tree/Chunk.pyi +2 -0
  280. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/tree/ParseTreeMatch.pyi +1 -0
  281. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/tree/ParseTreePattern.pyi +1 -0
  282. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/tree/ParseTreePatternMatcher.pyi +1 -0
  283. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/tree/RuleTagToken.pyi +1 -0
  284. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/tree/TokenTagToken.pyi +1 -0
  285. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/tree/Tree.pyi +1 -0
  286. package/dist/typeshed-fallback/stubs/auth0-python/auth0/authentication/token_verifier.pyi +2 -2
  287. package/dist/typeshed-fallback/stubs/boltons/boltons/dictutils.pyi +3 -1
  288. package/dist/typeshed-fallback/stubs/boltons/boltons/mathutils.pyi +1 -0
  289. package/dist/typeshed-fallback/stubs/boltons/boltons/setutils.pyi +1 -0
  290. package/dist/typeshed-fallback/stubs/boltons/boltons/strutils.pyi +1 -1
  291. package/dist/typeshed-fallback/stubs/boltons/boltons/tbutils.pyi +1 -0
  292. package/dist/typeshed-fallback/stubs/cachetools/METADATA.toml +1 -1
  293. package/dist/typeshed-fallback/stubs/cachetools/cachetools/__init__.pyi +3 -1
  294. package/dist/typeshed-fallback/stubs/cffi/_cffi_backend.pyi +3 -2
  295. package/dist/typeshed-fallback/stubs/cffi/cffi/api.pyi +1 -1
  296. package/dist/typeshed-fallback/stubs/cffi/cffi/backend_ctypes.pyi +6 -1
  297. package/dist/typeshed-fallback/stubs/cffi/cffi/pkgconfig.pyi +1 -1
  298. package/dist/typeshed-fallback/stubs/channels/channels/layers.pyi +2 -2
  299. package/dist/typeshed-fallback/stubs/click-shell/METADATA.toml +3 -0
  300. package/dist/typeshed-fallback/stubs/click-shell/click_shell/__init__.pyi +7 -0
  301. package/dist/typeshed-fallback/stubs/click-shell/click_shell/_cmd.pyi +28 -0
  302. package/dist/typeshed-fallback/stubs/click-shell/click_shell/_compat.pyi +10 -0
  303. package/dist/typeshed-fallback/stubs/click-shell/click_shell/core.pyi +35 -0
  304. package/dist/typeshed-fallback/stubs/click-shell/click_shell/decorators.pyi +8 -0
  305. package/dist/typeshed-fallback/stubs/convertdate/METADATA.toml +2 -0
  306. package/dist/typeshed-fallback/stubs/convertdate/convertdate/__init__.pyi +48 -0
  307. package/dist/typeshed-fallback/stubs/convertdate/convertdate/armenian.pyi +24 -0
  308. package/dist/typeshed-fallback/stubs/convertdate/convertdate/bahai.pyi +37 -0
  309. package/dist/typeshed-fallback/stubs/convertdate/convertdate/coptic.pyi +14 -0
  310. package/dist/typeshed-fallback/stubs/convertdate/convertdate/data/__init__.pyi +0 -0
  311. package/dist/typeshed-fallback/stubs/convertdate/convertdate/data/french_republican_days.pyi +3 -0
  312. package/dist/typeshed-fallback/stubs/convertdate/convertdate/data/positivist.pyi +6 -0
  313. package/dist/typeshed-fallback/stubs/convertdate/convertdate/daycount.pyi +13 -0
  314. package/dist/typeshed-fallback/stubs/convertdate/convertdate/dublin.pyi +13 -0
  315. package/dist/typeshed-fallback/stubs/convertdate/convertdate/french_republican.pyi +27 -0
  316. package/dist/typeshed-fallback/stubs/convertdate/convertdate/gregorian.pyi +20 -0
  317. package/dist/typeshed-fallback/stubs/convertdate/convertdate/hebrew.pyi +34 -0
  318. package/dist/typeshed-fallback/stubs/convertdate/convertdate/holidays.pyi +161 -0
  319. package/dist/typeshed-fallback/stubs/convertdate/convertdate/indian_civil.pyi +15 -0
  320. package/dist/typeshed-fallback/stubs/convertdate/convertdate/islamic.pyi +17 -0
  321. package/dist/typeshed-fallback/stubs/convertdate/convertdate/iso.pyi +17 -0
  322. package/dist/typeshed-fallback/stubs/convertdate/convertdate/julian.pyi +20 -0
  323. package/dist/typeshed-fallback/stubs/convertdate/convertdate/julianday.pyi +8 -0
  324. package/dist/typeshed-fallback/stubs/convertdate/convertdate/mayan.pyi +40 -0
  325. package/dist/typeshed-fallback/stubs/convertdate/convertdate/ordinal.pyi +4 -0
  326. package/dist/typeshed-fallback/stubs/convertdate/convertdate/persian.pyi +19 -0
  327. package/dist/typeshed-fallback/stubs/convertdate/convertdate/positivist.pyi +15 -0
  328. package/dist/typeshed-fallback/stubs/convertdate/convertdate/utils.pyi +43 -0
  329. package/dist/typeshed-fallback/stubs/defusedxml/defusedxml/lxml.pyi +8 -15
  330. package/dist/typeshed-fallback/stubs/django-filter/django_filters/fields.pyi +71 -14
  331. package/dist/typeshed-fallback/stubs/django-filter/django_filters/filters.pyi +116 -22
  332. package/dist/typeshed-fallback/stubs/django-filter/django_filters/filterset.pyi +4 -3
  333. package/dist/typeshed-fallback/stubs/django-filter/django_filters/rest_framework/__init__.pyi +32 -1
  334. package/dist/typeshed-fallback/stubs/django-filter/django_filters/rest_framework/filters.pyi +1 -4
  335. package/dist/typeshed-fallback/stubs/django-filter/django_filters/widgets.pyi +1 -6
  336. package/dist/typeshed-fallback/stubs/django-import-export/import_export/resources.pyi +1 -1
  337. package/dist/typeshed-fallback/stubs/docker/docker/models/containers.pyi +1 -1
  338. package/dist/typeshed-fallback/stubs/docker/docker/transport/sshconn.pyi +1 -1
  339. package/dist/typeshed-fallback/stubs/docker/docker/types/services.pyi +1 -1
  340. package/dist/typeshed-fallback/stubs/docutils/METADATA.toml +1 -1
  341. package/dist/typeshed-fallback/stubs/docutils/docutils/__main__.pyi +3 -1
  342. package/dist/typeshed-fallback/stubs/docutils/docutils/core.pyi +21 -29
  343. package/dist/typeshed-fallback/stubs/docutils/docutils/examples.pyi +12 -14
  344. package/dist/typeshed-fallback/stubs/docutils/docutils/frontend.pyi +155 -53
  345. package/dist/typeshed-fallback/stubs/docutils/docutils/io.pyi +12 -7
  346. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/__init__.pyi +2 -0
  347. package/dist/typeshed-fallback/stubs/docutils/docutils/nodes.pyi +57 -10
  348. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/__init__.pyi +1 -1
  349. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/docutils_xml.pyi +16 -0
  350. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/null.pyi +3 -1
  351. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/recommonmark_wrapper.pyi +5 -1
  352. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/directives/__init__.pyi +1 -0
  353. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/directives/misc.pyi +7 -1
  354. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/directives/tables.pyi +3 -4
  355. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/roles.pyi +4 -1
  356. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/states.pyi +11 -17
  357. package/dist/typeshed-fallback/stubs/docutils/docutils/readers/doctree.pyi +3 -1
  358. package/dist/typeshed-fallback/stubs/docutils/docutils/transforms/references.pyi +4 -0
  359. package/dist/typeshed-fallback/stubs/docutils/docutils/transforms/universal.pyi +5 -1
  360. package/dist/typeshed-fallback/stubs/docutils/docutils/transforms/writer_aux.pyi +0 -8
  361. package/dist/typeshed-fallback/stubs/docutils/docutils/utils/__init__.pyi +13 -22
  362. package/dist/typeshed-fallback/stubs/docutils/docutils/utils/_roman_numerals.pyi +30 -0
  363. package/dist/typeshed-fallback/stubs/docutils/docutils/utils/code_analyzer.pyi +2 -1
  364. package/dist/typeshed-fallback/stubs/docutils/docutils/utils/math/__init__.pyi +3 -1
  365. package/dist/typeshed-fallback/stubs/docutils/docutils/utils/math/math2html.pyi +2 -1
  366. package/dist/typeshed-fallback/stubs/docutils/docutils/utils/math/mathml_elements.pyi +1 -0
  367. package/dist/typeshed-fallback/stubs/docutils/docutils/utils/math/tex2mathml_extern.pyi +1 -0
  368. package/dist/typeshed-fallback/stubs/docutils/docutils/writers/__init__.pyi +10 -0
  369. package/dist/typeshed-fallback/stubs/docutils/docutils/writers/_html_base.pyi +5 -3
  370. package/dist/typeshed-fallback/stubs/docutils/docutils/writers/latex2e/__init__.pyi +17 -8
  371. package/dist/typeshed-fallback/stubs/docutils/docutils/writers/manpage.pyi +7 -2
  372. package/dist/typeshed-fallback/stubs/docutils/docutils/writers/null.pyi +3 -1
  373. package/dist/typeshed-fallback/stubs/docutils/docutils/writers/odf_odt/__init__.pyi +3 -1
  374. package/dist/typeshed-fallback/stubs/docutils/docutils/writers/xetex/__init__.pyi +1 -0
  375. package/dist/typeshed-fallback/stubs/fanstatic/fanstatic/core.pyi +1 -1
  376. package/dist/typeshed-fallback/stubs/fanstatic/fanstatic/publisher.pyi +1 -1
  377. package/dist/typeshed-fallback/stubs/fanstatic/fanstatic/wsgi.pyi +1 -1
  378. package/dist/typeshed-fallback/stubs/flake8-builtins/METADATA.toml +1 -1
  379. package/dist/typeshed-fallback/stubs/flake8-builtins/flake8_builtins.pyi +3 -0
  380. package/dist/typeshed-fallback/stubs/fpdf2/fpdf/annotations.pyi +20 -0
  381. package/dist/typeshed-fallback/stubs/fpdf2/fpdf/bidi.pyi +4 -0
  382. package/dist/typeshed-fallback/stubs/fpdf2/fpdf/fonts.pyi +24 -0
  383. package/dist/typeshed-fallback/stubs/fpdf2/fpdf/outline.pyi +3 -0
  384. package/dist/typeshed-fallback/stubs/fpdf2/fpdf/output.pyi +36 -0
  385. package/dist/typeshed-fallback/stubs/fpdf2/fpdf/structure_tree.pyi +3 -0
  386. package/dist/typeshed-fallback/stubs/fpdf2/fpdf/table.pyi +1 -0
  387. package/dist/typeshed-fallback/stubs/gdb/gdb/__init__.pyi +10 -2
  388. package/dist/typeshed-fallback/stubs/gdb/gdb/disassembler.pyi +2 -0
  389. package/dist/typeshed-fallback/stubs/geopandas/geopandas/geodataframe.pyi +3 -3
  390. package/dist/typeshed-fallback/stubs/geopandas/geopandas/geoseries.pyi +3 -3
  391. package/dist/typeshed-fallback/stubs/gevent/gevent/_abstract_linkable.pyi +1 -0
  392. package/dist/typeshed-fallback/stubs/gevent/gevent/_ffi/loop.pyi +4 -4
  393. package/dist/typeshed-fallback/stubs/gevent/gevent/_ffi/watcher.pyi +1 -1
  394. package/dist/typeshed-fallback/stubs/gevent/gevent/_fileobjectcommon.pyi +2 -1
  395. package/dist/typeshed-fallback/stubs/gevent/gevent/_greenlet_primitives.pyi +2 -0
  396. package/dist/typeshed-fallback/stubs/gevent/gevent/_hub_primitives.pyi +2 -1
  397. package/dist/typeshed-fallback/stubs/gevent/gevent/_ident.pyi +1 -0
  398. package/dist/typeshed-fallback/stubs/gevent/gevent/_imap.pyi +3 -1
  399. package/dist/typeshed-fallback/stubs/gevent/gevent/_monitor.pyi +1 -0
  400. package/dist/typeshed-fallback/stubs/gevent/gevent/_threading.pyi +1 -0
  401. package/dist/typeshed-fallback/stubs/gevent/gevent/_util.pyi +8 -3
  402. package/dist/typeshed-fallback/stubs/gevent/gevent/_waiter.pyi +3 -1
  403. package/dist/typeshed-fallback/stubs/gevent/gevent/event.pyi +2 -0
  404. package/dist/typeshed-fallback/stubs/gevent/gevent/greenlet.pyi +2 -1
  405. package/dist/typeshed-fallback/stubs/gevent/gevent/hub.pyi +1 -0
  406. package/dist/typeshed-fallback/stubs/gevent/gevent/libev/corecext.pyi +3 -3
  407. package/dist/typeshed-fallback/stubs/gevent/gevent/local.pyi +10 -1
  408. package/dist/typeshed-fallback/stubs/gevent/gevent/lock.pyi +4 -1
  409. package/dist/typeshed-fallback/stubs/gevent/gevent/pool.pyi +1 -0
  410. package/dist/typeshed-fallback/stubs/gevent/gevent/pywsgi.pyi +14 -1
  411. package/dist/typeshed-fallback/stubs/gevent/gevent/queue.pyi +9 -2
  412. package/dist/typeshed-fallback/stubs/gevent/gevent/resolver/cares.pyi +4 -2
  413. package/dist/typeshed-fallback/stubs/gevent/gevent/threadpool.pyi +12 -0
  414. package/dist/typeshed-fallback/stubs/greenlet/greenlet/_greenlet.pyi +2 -1
  415. package/dist/typeshed-fallback/stubs/grpcio/grpc/aio/__init__.pyi +3 -3
  416. package/dist/typeshed-fallback/stubs/gunicorn/METADATA.toml +8 -0
  417. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/__init__.pyi +4 -0
  418. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/_types.pyi +23 -0
  419. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/app/__init__.pyi +0 -0
  420. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/app/base.pyi +36 -0
  421. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/app/pasterapp.pyi +7 -0
  422. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/app/wsgiapp.pyi +20 -0
  423. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/arbiter.pyi +68 -0
  424. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/config.pyi +1065 -0
  425. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/debug.pyi +18 -0
  426. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/errors.pyi +8 -0
  427. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/glogging.pyi +158 -0
  428. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/http/__init__.pyi +4 -0
  429. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/http/body.pyi +48 -0
  430. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/http/errors.pyi +89 -0
  431. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/http/message.pyi +62 -0
  432. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/http/parser.pyi +26 -0
  433. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/http/unreader.pyi +28 -0
  434. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/http/wsgi.pyi +70 -0
  435. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/instrument/__init__.pyi +0 -0
  436. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/instrument/statsd.pyi +105 -0
  437. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/pidfile.pyi +8 -0
  438. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/reloader.pyi +50 -0
  439. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/sock.pyi +41 -0
  440. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/systemd.pyi +6 -0
  441. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/util.pyi +48 -0
  442. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/workers/__init__.pyi +13 -0
  443. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/workers/base.pyi +48 -0
  444. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/workers/base_async.pyi +17 -0
  445. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/workers/geventlet.pyi +31 -0
  446. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/workers/ggevent.pyi +54 -0
  447. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/workers/gthread.pyi +50 -0
  448. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/workers/gtornado.pyi +28 -0
  449. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/workers/sync.pyi +22 -0
  450. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/workers/workertmp.pyi +11 -0
  451. package/dist/typeshed-fallback/stubs/hdbcli/hdbcli/dbapi.pyi +4 -1
  452. package/dist/typeshed-fallback/stubs/hdbcli/hdbcli/resultrow.pyi +2 -0
  453. package/dist/typeshed-fallback/stubs/html5lib/html5lib/html5parser.pyi +4 -2
  454. package/dist/typeshed-fallback/stubs/httplib2/METADATA.toml +1 -1
  455. package/dist/typeshed-fallback/stubs/icalendar/icalendar/parser.pyi +1 -1
  456. package/dist/typeshed-fallback/stubs/icalendar/icalendar/parser_tools.pyi +4 -4
  457. package/dist/typeshed-fallback/stubs/jsonschema/METADATA.toml +1 -1
  458. package/dist/typeshed-fallback/stubs/jsonschema/jsonschema/_types.pyi +1 -0
  459. package/dist/typeshed-fallback/stubs/jsonschema/jsonschema/cli.pyi +3 -0
  460. package/dist/typeshed-fallback/stubs/jsonschema/jsonschema/protocols.pyi +6 -4
  461. package/dist/typeshed-fallback/stubs/jsonschema/jsonschema/validators.pyi +20 -10
  462. package/dist/typeshed-fallback/stubs/lunardate/METADATA.toml +2 -0
  463. package/dist/typeshed-fallback/stubs/lunardate/lunardate.pyi +40 -0
  464. package/dist/typeshed-fallback/stubs/lupa/lupa/lua51.pyi +23 -14
  465. package/dist/typeshed-fallback/stubs/lupa/lupa/lua52.pyi +23 -14
  466. package/dist/typeshed-fallback/stubs/lupa/lupa/lua53.pyi +23 -14
  467. package/dist/typeshed-fallback/stubs/lupa/lupa/lua54.pyi +23 -14
  468. package/dist/typeshed-fallback/stubs/lupa/lupa/luajit20.pyi +3 -0
  469. package/dist/typeshed-fallback/stubs/lupa/lupa/luajit21.pyi +3 -0
  470. package/dist/typeshed-fallback/stubs/mock/mock/mock.pyi +2 -2
  471. package/dist/typeshed-fallback/stubs/mysqlclient/MySQLdb/_mysql.pyi +3 -0
  472. package/dist/typeshed-fallback/stubs/netaddr/netaddr/eui/__init__.pyi +4 -0
  473. package/dist/typeshed-fallback/stubs/netaddr/netaddr/ip/__init__.pyi +5 -0
  474. package/dist/typeshed-fallback/stubs/netaddr/netaddr/ip/glob.pyi +1 -0
  475. package/dist/typeshed-fallback/stubs/netaddr/netaddr/ip/sets.pyi +1 -0
  476. package/dist/typeshed-fallback/stubs/networkx/networkx/_typing.pyi +21 -5
  477. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/approximation/clique.pyi +4 -6
  478. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/approximation/connectivity.pyi +4 -5
  479. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/approximation/traveling_salesman.pyi +3 -3
  480. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/assortativity/connectivity.pyi +6 -1
  481. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/connectivity/connectivity.pyi +18 -12
  482. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/flow/utils.pyi +2 -0
  483. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/link_analysis/hits_alg.pyi +3 -3
  484. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/link_analysis/pagerank_alg.pyi +10 -9
  485. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/planarity.pyi +20 -0
  486. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/simple_paths.pyi +5 -3
  487. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/traversal/beamsearch.pyi +2 -3
  488. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/traversal/breadth_first_search.pyi +33 -17
  489. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/traversal/depth_first_search.pyi +45 -16
  490. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/traversal/edgebfs.pyi +7 -3
  491. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/traversal/edgedfs.pyi +7 -3
  492. package/dist/typeshed-fallback/stubs/networkx/networkx/classes/coreviews.pyi +13 -4
  493. package/dist/typeshed-fallback/stubs/networkx/networkx/classes/digraph.pyi +23 -9
  494. package/dist/typeshed-fallback/stubs/networkx/networkx/classes/multidigraph.pyi +13 -6
  495. package/dist/typeshed-fallback/stubs/networkx/networkx/classes/reportviews.pyi +32 -10
  496. package/dist/typeshed-fallback/stubs/networkx/networkx/drawing/layout.pyi +96 -56
  497. package/dist/typeshed-fallback/stubs/networkx/networkx/drawing/nx_agraph.pyi +3 -5
  498. package/dist/typeshed-fallback/stubs/networkx/networkx/drawing/nx_latex.pyi +53 -19
  499. package/dist/typeshed-fallback/stubs/networkx/networkx/drawing/nx_pydot.pyi +11 -9
  500. package/dist/typeshed-fallback/stubs/networkx/networkx/drawing/nx_pylab.pyi +292 -85
  501. package/dist/typeshed-fallback/stubs/networkx/networkx/readwrite/gexf.pyi +2 -1
  502. package/dist/typeshed-fallback/stubs/networkx/networkx/readwrite/graphml.pyi +2 -2
  503. package/dist/typeshed-fallback/stubs/networkx/networkx/utils/heaps.pyi +2 -0
  504. package/dist/typeshed-fallback/stubs/networkx/networkx/utils/mapped_queue.pyi +1 -0
  505. package/dist/typeshed-fallback/stubs/networkx/networkx/utils/misc.pyi +6 -1
  506. package/dist/typeshed-fallback/stubs/oauthlib/oauthlib/oauth2/rfc6749/endpoints/token.pyi +1 -1
  507. package/dist/typeshed-fallback/stubs/oauthlib/oauthlib/oauth2/rfc6749/tokens.pyi +2 -0
  508. package/dist/typeshed-fallback/stubs/oauthlib/oauthlib/openid/connect/core/tokens.pyi +1 -0
  509. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/cell/cell.pyi +2 -0
  510. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/cell/read_only.pyi +2 -0
  511. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/descriptors/sequence.pyi +1 -1
  512. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/formula/tokenizer.pyi +1 -0
  513. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/pivot/table.pyi +1 -1
  514. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/styles/cell_style.pyi +1 -1
  515. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/styles/proxy.pyi +1 -0
  516. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/styles/styleable.pyi +1 -0
  517. package/dist/typeshed-fallback/stubs/paramiko/paramiko/packet.pyi +1 -1
  518. package/dist/typeshed-fallback/stubs/paramiko/paramiko/transport.pyi +2 -1
  519. package/dist/typeshed-fallback/stubs/parsimonious/parsimonious/expressions.pyi +6 -0
  520. package/dist/typeshed-fallback/stubs/parsimonious/parsimonious/nodes.pyi +2 -0
  521. package/dist/typeshed-fallback/stubs/parsimonious/parsimonious/utils.pyi +1 -0
  522. package/dist/typeshed-fallback/stubs/pexpect/pexpect/spawnbase.pyi +1 -1
  523. package/dist/typeshed-fallback/stubs/pika/pika/adapters/blocking_connection.pyi +9 -0
  524. package/dist/typeshed-fallback/stubs/pika/pika/adapters/gevent_connection.pyi +10 -12
  525. package/dist/typeshed-fallback/stubs/pika/pika/adapters/select_connection.pyi +1 -0
  526. package/dist/typeshed-fallback/stubs/pika/pika/adapters/utils/selector_ioloop_adapter.pyi +1 -0
  527. package/dist/typeshed-fallback/stubs/pika/pika/connection.pyi +21 -0
  528. package/dist/typeshed-fallback/stubs/pony/pony/orm/core.pyi +95 -1
  529. package/dist/typeshed-fallback/stubs/pony/pony/orm/dbproviders/mysql.pyi +2 -1
  530. package/dist/typeshed-fallback/stubs/pony/pony/orm/dbproviders/sqlite.pyi +2 -1
  531. package/dist/typeshed-fallback/stubs/pony/pony/orm/examples/alessandro_bug.pyi +3 -0
  532. package/dist/typeshed-fallback/stubs/pony/pony/orm/examples/compositekeys.pyi +11 -0
  533. package/dist/typeshed-fallback/stubs/pony/pony/orm/examples/demo.pyi +4 -0
  534. package/dist/typeshed-fallback/stubs/pony/pony/orm/examples/estore.pyi +6 -0
  535. package/dist/typeshed-fallback/stubs/pony/pony/orm/examples/inheritance1.pyi +8 -1
  536. package/dist/typeshed-fallback/stubs/pony/pony/orm/examples/numbers.pyi +1 -0
  537. package/dist/typeshed-fallback/stubs/pony/pony/orm/examples/university1.pyi +4 -0
  538. package/dist/typeshed-fallback/stubs/pony/pony/orm/examples/university2.pyi +12 -0
  539. package/dist/typeshed-fallback/stubs/pony/pony/orm/ormtypes.pyi +3 -0
  540. package/dist/typeshed-fallback/stubs/pony/pony/orm/sqlbuilding.pyi +3 -0
  541. package/dist/typeshed-fallback/stubs/protobuf/METADATA.toml +2 -2
  542. package/dist/typeshed-fallback/stubs/protobuf/google/_upb/_message.pyi +14 -13
  543. package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/api_pb2.pyi +33 -2
  544. package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/descriptor.pyi +4 -0
  545. package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/descriptor_pb2.pyi +107 -3
  546. package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/internal/api_implementation.pyi +0 -1
  547. package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/internal/containers.pyi +5 -0
  548. package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/internal/well_known_types.pyi +6 -0
  549. package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/message.pyi +2 -1
  550. package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/type_pb2.pyi +32 -4
  551. package/dist/typeshed-fallback/stubs/psutil/psutil/__init__.pyi +2 -2
  552. package/dist/typeshed-fallback/stubs/psutil/psutil/_psosx.pyi +5 -4
  553. package/dist/typeshed-fallback/stubs/psycopg2/psycopg2/_psycopg.pyi +22 -1
  554. package/dist/typeshed-fallback/stubs/pyRFC3339/METADATA.toml +1 -0
  555. package/dist/typeshed-fallback/stubs/pycocotools/pycocotools/mask.pyi +1 -1
  556. package/dist/typeshed-fallback/stubs/pycurl/METADATA.toml +1 -1
  557. package/dist/typeshed-fallback/stubs/pycurl/pycurl.pyi +4 -0
  558. package/dist/typeshed-fallback/stubs/pyinstaller/METADATA.toml +1 -1
  559. package/dist/typeshed-fallback/stubs/pyinstaller/PyInstaller/compat.pyi +0 -1
  560. package/dist/typeshed-fallback/stubs/pyinstaller/PyInstaller/lib/modulegraph/modulegraph.pyi +11 -0
  561. package/dist/typeshed-fallback/stubs/pyluach/METADATA.toml +2 -0
  562. package/dist/typeshed-fallback/stubs/pyluach/pyluach/__init__.pyi +3 -0
  563. package/dist/typeshed-fallback/stubs/pyluach/pyluach/dates.pyi +106 -0
  564. package/dist/typeshed-fallback/stubs/pyluach/pyluach/hebrewcal.pyi +141 -0
  565. package/dist/typeshed-fallback/stubs/pyluach/pyluach/parshios.pyi +14 -0
  566. package/dist/typeshed-fallback/stubs/pyluach/pyluach/utils.pyi +32 -0
  567. package/dist/typeshed-fallback/stubs/pyserial/serial/serialposix.pyi +3 -3
  568. package/dist/typeshed-fallback/stubs/pyserial/serial/tools/list_ports_osx.pyi +1 -1
  569. package/dist/typeshed-fallback/stubs/python-dateutil/dateutil/_common.pyi +1 -0
  570. package/dist/typeshed-fallback/stubs/python-dateutil/dateutil/parser/_parser.pyi +2 -0
  571. package/dist/typeshed-fallback/stubs/python-dateutil/dateutil/rrule.pyi +17 -0
  572. package/dist/typeshed-fallback/stubs/python-dateutil/dateutil/tz/tz.pyi +1 -0
  573. package/dist/typeshed-fallback/stubs/pywin32/_win32typing.pyi +26 -11
  574. package/dist/typeshed-fallback/stubs/pywin32/pythoncom.pyi +2 -1
  575. package/dist/typeshed-fallback/stubs/pywin32/win32/lib/pywintypes.pyi +4 -3
  576. package/dist/typeshed-fallback/stubs/pywin32/win32/win32console.pyi +1 -1
  577. package/dist/typeshed-fallback/stubs/pywin32/win32comext/shell/shell.pyi +1 -1
  578. package/dist/typeshed-fallback/stubs/regex/METADATA.toml +1 -1
  579. package/dist/typeshed-fallback/stubs/reportlab/METADATA.toml +1 -1
  580. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/charts/textlabels.pyi +10 -4
  581. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/widgetbase.pyi +2 -3
  582. package/dist/typeshed-fallback/stubs/reportlab/reportlab/pdfbase/ttfonts.pyi +1 -1
  583. package/dist/typeshed-fallback/stubs/reportlab/reportlab/platypus/doctemplate.pyi +3 -1
  584. package/dist/typeshed-fallback/stubs/reportlab/reportlab/platypus/tables.pyi +9 -1
  585. package/dist/typeshed-fallback/stubs/requests/requests/sessions.pyi +1 -1
  586. package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/filelist.pyi +1 -1
  587. package/dist/typeshed-fallback/stubs/shapely/shapely/_geometry.pyi +8 -8
  588. package/dist/typeshed-fallback/stubs/shapely/shapely/_ragged_array.pyi +1 -1
  589. package/dist/typeshed-fallback/stubs/shapely/shapely/geometry/base.pyi +2 -0
  590. package/dist/typeshed-fallback/stubs/shapely/shapely/geometry/collection.pyi +1 -0
  591. package/dist/typeshed-fallback/stubs/shapely/shapely/geometry/linestring.pyi +1 -0
  592. package/dist/typeshed-fallback/stubs/shapely/shapely/geometry/multilinestring.pyi +1 -0
  593. package/dist/typeshed-fallback/stubs/shapely/shapely/geometry/multipoint.pyi +1 -0
  594. package/dist/typeshed-fallback/stubs/shapely/shapely/geometry/multipolygon.pyi +1 -0
  595. package/dist/typeshed-fallback/stubs/shapely/shapely/geometry/point.pyi +1 -0
  596. package/dist/typeshed-fallback/stubs/shapely/shapely/geometry/polygon.pyi +2 -0
  597. package/dist/typeshed-fallback/stubs/shapely/shapely/lib.pyi +3 -2
  598. package/dist/typeshed-fallback/stubs/simplejson/simplejson/__init__.pyi +108 -108
  599. package/dist/typeshed-fallback/stubs/simplejson/simplejson/decoder.pyi +10 -10
  600. package/dist/typeshed-fallback/stubs/simplejson/simplejson/encoder.pyi +19 -19
  601. package/dist/typeshed-fallback/stubs/translationstring/translationstring/__init__.pyi +1 -0
  602. package/dist/typeshed-fallback/stubs/ttkthemes/ttkthemes/themed_tk.pyi +22 -21
  603. package/dist/typeshed-fallback/stubs/ujson/METADATA.toml +1 -0
  604. package/dist/typeshed-fallback/stubs/watchpoints/watchpoints/watch.pyi +1 -1
  605. package/dist/typeshed-fallback/stubs/watchpoints/watchpoints/watch_print.pyi +2 -2
  606. package/dist/typeshed-fallback/stubs/workalendar/workalendar/africa/algeria.pyi +1 -11
  607. package/dist/typeshed-fallback/stubs/workalendar/workalendar/africa/angola.pyi +0 -9
  608. package/dist/typeshed-fallback/stubs/workalendar/workalendar/africa/benin.pyi +0 -12
  609. package/dist/typeshed-fallback/stubs/workalendar/workalendar/africa/ivory_coast.pyi +0 -12
  610. package/dist/typeshed-fallback/stubs/workalendar/workalendar/africa/kenya.pyi +3 -13
  611. package/dist/typeshed-fallback/stubs/workalendar/workalendar/africa/madagascar.pyi +1 -11
  612. package/dist/typeshed-fallback/stubs/workalendar/workalendar/africa/mozambique.pyi +1 -8
  613. package/dist/typeshed-fallback/stubs/workalendar/workalendar/africa/nigeria.pyi +0 -12
  614. package/dist/typeshed-fallback/stubs/workalendar/workalendar/africa/sao_tome.pyi +1 -7
  615. package/dist/typeshed-fallback/stubs/workalendar/workalendar/africa/south_africa.pyi +2 -8
  616. package/dist/typeshed-fallback/stubs/workalendar/workalendar/africa/tunisia.pyi +1 -14
  617. package/dist/typeshed-fallback/stubs/workalendar/workalendar/america/argentina.pyi +6 -17
  618. package/dist/typeshed-fallback/stubs/workalendar/workalendar/america/barbados.pyi +6 -14
  619. package/dist/typeshed-fallback/stubs/workalendar/workalendar/america/brazil.pyi +62 -237
  620. package/dist/typeshed-fallback/stubs/workalendar/workalendar/america/canada.pyi +22 -66
  621. package/dist/typeshed-fallback/stubs/workalendar/workalendar/america/chile.pyi +1 -12
  622. package/dist/typeshed-fallback/stubs/workalendar/workalendar/america/colombia.pyi +10 -21
  623. package/dist/typeshed-fallback/stubs/workalendar/workalendar/america/el_salvador.pyi +1 -9
  624. package/dist/typeshed-fallback/stubs/workalendar/workalendar/america/mexico.pyi +1 -8
  625. package/dist/typeshed-fallback/stubs/workalendar/workalendar/america/panama.pyi +1 -10
  626. package/dist/typeshed-fallback/stubs/workalendar/workalendar/america/paraguay.pyi +4 -13
  627. package/dist/typeshed-fallback/stubs/workalendar/workalendar/asia/china.pyi +5 -12
  628. package/dist/typeshed-fallback/stubs/workalendar/workalendar/asia/hong_kong.pyi +2 -22
  629. package/dist/typeshed-fallback/stubs/workalendar/workalendar/asia/israel.pyi +6 -6
  630. package/dist/typeshed-fallback/stubs/workalendar/workalendar/asia/japan.pyi +2 -10
  631. package/dist/typeshed-fallback/stubs/workalendar/workalendar/asia/kazakhstan.pyi +1 -28
  632. package/dist/typeshed-fallback/stubs/workalendar/workalendar/asia/malaysia.pyi +3 -20
  633. package/dist/typeshed-fallback/stubs/workalendar/workalendar/asia/philippines.pyi +1 -22
  634. package/dist/typeshed-fallback/stubs/workalendar/workalendar/asia/qatar.pyi +1 -11
  635. package/dist/typeshed-fallback/stubs/workalendar/workalendar/asia/singapore.pyi +2 -15
  636. package/dist/typeshed-fallback/stubs/workalendar/workalendar/asia/south_korea.pyi +1 -11
  637. package/dist/typeshed-fallback/stubs/workalendar/workalendar/asia/taiwan.pyi +8 -7
  638. package/dist/typeshed-fallback/stubs/workalendar/workalendar/core.pyi +119 -80
  639. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/austria.pyi +1 -18
  640. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/belarus.pyi +2 -9
  641. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/belgium.pyi +1 -11
  642. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/bulgaria.pyi +3 -21
  643. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/cayman_islands.pyi +8 -14
  644. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/croatia.pyi +1 -17
  645. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/cyprus.pyi +0 -14
  646. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/czech_republic.pyi +1 -9
  647. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/denmark.pyi +2 -15
  648. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/estonia.pyi +1 -13
  649. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/european_central_bank.pyi +1 -8
  650. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/finland.pyi +4 -18
  651. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/france.pyi +2 -15
  652. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/georgia.pyi +1 -14
  653. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/germany.pyi +21 -69
  654. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/greece.pyi +1 -19
  655. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/guernsey.pyi +5 -10
  656. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/hungary.pyi +1 -17
  657. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/iceland.pyi +3 -15
  658. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/ireland.pyi +3 -9
  659. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/italy.pyi +1 -14
  660. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/latvia.pyi +3 -13
  661. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/lithuania.pyi +3 -16
  662. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/luxembourg.pyi +1 -13
  663. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/malta.pyi +1 -11
  664. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/monaco.pyi +1 -13
  665. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/netherlands.pyi +24 -29
  666. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/norway.pyi +1 -15
  667. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/poland.pyi +1 -14
  668. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/portugal.pyi +1 -14
  669. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/romania.pyi +3 -17
  670. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/russia.pyi +3 -11
  671. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/scotland/__init__.pyi +30 -101
  672. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/scotland/mixins/__init__.pyi +5 -3
  673. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/scotland/mixins/autumn_holiday.pyi +5 -4
  674. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/scotland/mixins/fair_holiday.pyi +8 -7
  675. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/scotland/mixins/spring_holiday.pyi +6 -5
  676. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/scotland/mixins/victoria_day.pyi +4 -3
  677. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/serbia.pyi +1 -10
  678. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/slovakia.pyi +1 -13
  679. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/slovenia.pyi +1 -12
  680. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/spain.pyi +18 -84
  681. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/sweden.pyi +4 -18
  682. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/switzerland.pyi +30 -178
  683. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/turkey.pyi +2 -12
  684. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/ukraine.pyi +0 -11
  685. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/united_kingdom.pyi +7 -15
  686. package/dist/typeshed-fallback/stubs/workalendar/workalendar/oceania/australia.pyi +22 -67
  687. package/dist/typeshed-fallback/stubs/workalendar/workalendar/oceania/marshall_islands.pyi +1 -7
  688. package/dist/typeshed-fallback/stubs/workalendar/workalendar/oceania/new_zealand.pyi +3 -9
  689. package/dist/typeshed-fallback/stubs/workalendar/workalendar/precomputed_astronomy.pyi +8 -7
  690. package/dist/typeshed-fallback/stubs/workalendar/workalendar/registry.pyi +12 -9
  691. package/dist/typeshed-fallback/stubs/workalendar/workalendar/registry_tools.pyi +6 -1
  692. package/dist/typeshed-fallback/stubs/workalendar/workalendar/skyfield_astronomy.pyi +9 -6
  693. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/alabama.pyi +5 -15
  694. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/alaska.pyi +1 -7
  695. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/american_samoa.pyi +2 -5
  696. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/arizona.pyi +1 -5
  697. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/arkansas.pyi +1 -6
  698. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/california.pyi +5 -24
  699. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/connecticut.pyi +1 -5
  700. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/core.pyi +21 -28
  701. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/delaware.pyi +1 -8
  702. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/district_columbia.pyi +1 -6
  703. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/florida.pyi +13 -32
  704. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/georgia.pyi +3 -7
  705. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/guam.pyi +1 -8
  706. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/hawaii.pyi +2 -8
  707. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/idaho.pyi +1 -4
  708. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/illinois.pyi +3 -8
  709. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/indiana.pyi +3 -9
  710. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/iowa.pyi +1 -6
  711. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/kansas.pyi +1 -5
  712. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/kentucky.pyi +1 -10
  713. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/louisiana.pyi +1 -7
  714. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/maine.pyi +1 -5
  715. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/maryland.pyi +1 -6
  716. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/massachusetts.pyi +2 -8
  717. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/michigan.pyi +1 -8
  718. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/minnesota.pyi +1 -5
  719. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/mississippi.pyi +1 -9
  720. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/missouri.pyi +1 -6
  721. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/montana.pyi +1 -5
  722. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/nebraska.pyi +1 -5
  723. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/nevada.pyi +1 -7
  724. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/new_hampshire.pyi +1 -5
  725. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/new_jersey.pyi +1 -5
  726. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/new_mexico.pyi +1 -6
  727. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/new_york.pyi +1 -5
  728. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/north_carolina.pyi +2 -9
  729. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/north_dakota.pyi +1 -5
  730. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/oklahoma.pyi +1 -6
  731. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/oregon.pyi +1 -4
  732. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/pennsylvania.pyi +1 -6
  733. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/rhode_island.pyi +1 -6
  734. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/south_carolina.pyi +1 -9
  735. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/south_dakota.pyi +1 -4
  736. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/tennessee.pyi +1 -6
  737. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/texas.pyi +1 -14
  738. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/utah.pyi +1 -4
  739. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/vermont.pyi +1 -7
  740. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/virginia.pyi +0 -5
  741. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/washington.pyi +1 -4
  742. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/west_virginia.pyi +0 -7
  743. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/wisconsin.pyi +1 -8
  744. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/wyoming.pyi +1 -4
  745. package/dist/typeshed-fallback/stubs/xlrd/xlrd/formula.pyi +3 -3
  746. package/dist/typeshed-fallback/stubs/xlrd/xlrd/sheet.pyi +13 -0
  747. package/dist/typeshed-fallback/stubs/xmltodict/METADATA.toml +1 -1
  748. package/dist/typeshed-fallback/stubs/xmltodict/xmltodict.pyi +106 -22
  749. package/dist/typeshed-fallback/stubs/yt-dlp/METADATA.toml +1 -1
  750. package/dist/typeshed-fallback/stubs/yt-dlp/yt_dlp/YoutubeDL.pyi +1 -1
  751. package/dist/typeshed-fallback/stubs/yt-dlp/yt_dlp/__init__.pyi +3 -11
  752. package/dist/typeshed-fallback/stubs/yt-dlp/yt_dlp/compat/__init__.pyi +2 -0
  753. package/dist/typeshed-fallback/stubs/yt-dlp/yt_dlp/cookies.pyi +13 -13
  754. package/dist/typeshed-fallback/stubs/yt-dlp/yt_dlp/downloader/__init__.pyi +1 -1
  755. package/dist/typeshed-fallback/stubs/yt-dlp/yt_dlp/downloader/common.pyi +0 -1
  756. package/dist/typeshed-fallback/stubs/yt-dlp/yt_dlp/downloader/external.pyi +0 -2
  757. package/dist/typeshed-fallback/stubs/yt-dlp/yt_dlp/downloader/ism.pyi +16 -16
  758. package/dist/typeshed-fallback/stubs/yt-dlp/yt_dlp/extractor/common.pyi +114 -108
  759. package/dist/typeshed-fallback/stubs/yt-dlp/yt_dlp/minicurses.pyi +4 -4
  760. package/dist/typeshed-fallback/stubs/yt-dlp/yt_dlp/networking/common.pyi +2 -2
  761. package/dist/typeshed-fallback/stubs/yt-dlp/yt_dlp/networking/impersonate.pyi +1 -1
  762. package/dist/typeshed-fallback/stubs/yt-dlp/yt_dlp/plugins.pyi +3 -3
  763. package/dist/typeshed-fallback/stubs/yt-dlp/yt_dlp/socks.pyi +7 -7
  764. package/dist/typeshed-fallback/stubs/yt-dlp/yt_dlp/utils/__init__.pyi +7 -1
  765. package/dist/typeshed-fallback/stubs/yt-dlp/yt_dlp/utils/_deprecated.pyi +13 -0
  766. package/dist/typeshed-fallback/stubs/yt-dlp/yt_dlp/utils/_utils.pyi +33 -31
  767. package/dist/typeshed-fallback/stubs/yt-dlp/yt_dlp/version.pyi +8 -6
  768. package/package.json +1 -1
  769. package/dist/typeshed-fallback/stubs/docutils/docutils/utils/error_reporting.pyi +0 -41
  770. package/dist/typeshed-fallback/stubs/docutils/docutils/utils/roman.pyi +0 -23
  771. package/dist/typeshed-fallback/stubs/httplib2/httplib2/socks.pyi +0 -53
@@ -1,10 +1,11 @@
1
1
  import _tkinter
2
+ import sys
2
3
  import tkinter
3
- from _typeshed import Incomplete, MaybeNone
4
- from collections.abc import Callable
4
+ from _typeshed import MaybeNone
5
+ from collections.abc import Callable, Iterable
5
6
  from tkinter.font import _FontDescription
6
7
  from typing import Any, Literal, TypedDict, overload, type_check_only
7
- from typing_extensions import TypeAlias
8
+ from typing_extensions import Never, TypeAlias, Unpack
8
9
 
9
10
  __all__ = [
10
11
  "Button",
@@ -35,32 +36,164 @@ __all__ = [
35
36
  ]
36
37
 
37
38
  def tclobjs_to_py(adict: dict[Any, Any]) -> dict[Any, Any]: ...
38
- def setup_master(master=None): ...
39
+ def setup_master(master: tkinter.Misc | None = None): ...
39
40
 
40
41
  _Padding: TypeAlias = (
41
- tkinter._ScreenUnits
42
- | tuple[tkinter._ScreenUnits]
43
- | tuple[tkinter._ScreenUnits, tkinter._ScreenUnits]
44
- | tuple[tkinter._ScreenUnits, tkinter._ScreenUnits, tkinter._ScreenUnits]
45
- | tuple[tkinter._ScreenUnits, tkinter._ScreenUnits, tkinter._ScreenUnits, tkinter._ScreenUnits]
42
+ float
43
+ | str
44
+ | tuple[float | str]
45
+ | tuple[float | str, float | str]
46
+ | tuple[float | str, float | str, float | str]
47
+ | tuple[float | str, float | str, float | str, float | str]
46
48
  )
47
49
 
48
- # from ttk_widget (aka ttk::widget) manual page, differs from tkinter._Compound
49
- _TtkCompound: TypeAlias = Literal["", "text", "image", tkinter._Compound]
50
+ # Last item (option value to apply) varies between different options so use Any.
51
+ # It could also be any iterable with items matching the tuple, but that case
52
+ # hasn't been added here for consistency with _Padding above.
53
+ _Statespec: TypeAlias = tuple[Unpack[tuple[str, ...]], Any]
54
+ _ImageStatespec: TypeAlias = tuple[Unpack[tuple[str, ...]], tkinter._Image | str]
55
+ _VsapiStatespec: TypeAlias = tuple[Unpack[tuple[str, ...]], int]
56
+
57
+ class _Layout(TypedDict, total=False):
58
+ side: Literal["left", "right", "top", "bottom"]
59
+ sticky: str # consists of letters 'n', 's', 'w', 'e', may contain repeats, may be empty
60
+ unit: Literal[0, 1] | bool
61
+ children: _LayoutSpec
62
+ # Note: there seem to be some other undocumented keys sometimes
63
+
64
+ # This could be any sequence when passed as a parameter but will always be a list when returned.
65
+ _LayoutSpec: TypeAlias = list[tuple[str, _Layout | None]]
66
+
67
+ # Keep these in sync with the appropriate methods in Style
68
+ class _ElementCreateImageKwargs(TypedDict, total=False):
69
+ border: _Padding
70
+ height: float | str
71
+ padding: _Padding
72
+ sticky: str
73
+ width: float | str
74
+
75
+ _ElementCreateArgsCrossPlatform: TypeAlias = (
76
+ # Could be any sequence here but types are not homogenous so just type it as tuple
77
+ tuple[Literal["image"], tkinter._Image | str, Unpack[tuple[_ImageStatespec, ...]], _ElementCreateImageKwargs]
78
+ | tuple[Literal["from"], str, str]
79
+ | tuple[Literal["from"], str] # (fromelement is optional)
80
+ )
81
+ if sys.platform == "win32" and sys.version_info >= (3, 13):
82
+ class _ElementCreateVsapiKwargsPadding(TypedDict, total=False):
83
+ padding: _Padding
84
+
85
+ class _ElementCreateVsapiKwargsMargin(TypedDict, total=False):
86
+ padding: _Padding
87
+
88
+ class _ElementCreateVsapiKwargsSize(TypedDict):
89
+ width: float | str
90
+ height: float | str
91
+
92
+ _ElementCreateVsapiKwargsDict: TypeAlias = (
93
+ _ElementCreateVsapiKwargsPadding | _ElementCreateVsapiKwargsMargin | _ElementCreateVsapiKwargsSize
94
+ )
95
+ _ElementCreateArgs: TypeAlias = ( # noqa: Y047 # It doesn't recognise the usage below for whatever reason
96
+ _ElementCreateArgsCrossPlatform
97
+ | tuple[Literal["vsapi"], str, int, _ElementCreateVsapiKwargsDict]
98
+ | tuple[Literal["vsapi"], str, int, _VsapiStatespec, _ElementCreateVsapiKwargsDict]
99
+ )
100
+ else:
101
+ _ElementCreateArgs: TypeAlias = _ElementCreateArgsCrossPlatform
102
+ _ThemeSettingsValue = TypedDict(
103
+ "_ThemeSettingsValue",
104
+ {
105
+ "configure": dict[str, Any],
106
+ "map": dict[str, Iterable[_Statespec]],
107
+ "layout": _LayoutSpec,
108
+ "element create": _ElementCreateArgs,
109
+ },
110
+ total=False,
111
+ )
112
+ _ThemeSettings: TypeAlias = dict[str, _ThemeSettingsValue]
50
113
 
51
114
  class Style:
52
- master: Incomplete
115
+ master: tkinter.Misc
53
116
  tk: _tkinter.TkappType
54
117
  def __init__(self, master: tkinter.Misc | None = None) -> None: ...
55
- def configure(self, style, query_opt=None, **kw): ...
56
- def map(self, style, query_opt=None, **kw): ...
57
- def lookup(self, style, option, state=None, default=None): ...
58
- def layout(self, style, layoutspec=None): ...
59
- def element_create(self, elementname, etype, *args, **kw) -> None: ...
60
- def element_names(self): ...
61
- def element_options(self, elementname): ...
62
- def theme_create(self, themename, parent=None, settings=None) -> None: ...
63
- def theme_settings(self, themename, settings) -> None: ...
118
+ # For these methods, values given vary between options. Returned values
119
+ # seem to be str, but this might not always be the case.
120
+ @overload
121
+ def configure(self, style: str) -> dict[str, Any] | None: ... # Returns None if no configuration.
122
+ @overload
123
+ def configure(self, style: str, query_opt: str, **kw: Any) -> Any: ...
124
+ @overload
125
+ def configure(self, style: str, query_opt: None = None, **kw: Any) -> None: ...
126
+ @overload
127
+ def map(self, style: str, query_opt: str) -> _Statespec: ...
128
+ @overload
129
+ def map(self, style: str, query_opt: None = None, **kw: Iterable[_Statespec]) -> dict[str, _Statespec]: ...
130
+ def lookup(self, style: str, option: str, state: Iterable[str] | None = None, default: Any | None = None) -> Any: ...
131
+ @overload
132
+ def layout(self, style: str, layoutspec: _LayoutSpec) -> list[Never]: ... # Always seems to return an empty list
133
+ @overload
134
+ def layout(self, style: str, layoutspec: None = None) -> _LayoutSpec: ...
135
+ @overload
136
+ def element_create(
137
+ self,
138
+ elementname: str,
139
+ etype: Literal["image"],
140
+ default_image: tkinter._Image | str,
141
+ /,
142
+ *imagespec: _ImageStatespec,
143
+ border: _Padding = ...,
144
+ height: float | str = ...,
145
+ padding: _Padding = ...,
146
+ sticky: str = ...,
147
+ width: float | str = ...,
148
+ ) -> None: ...
149
+ @overload
150
+ def element_create(self, elementname: str, etype: Literal["from"], themename: str, fromelement: str = ..., /) -> None: ...
151
+ if sys.platform == "win32" and sys.version_info >= (3, 13): # and tk version >= 8.6
152
+ # margin, padding, and (width + height) are mutually exclusive. width
153
+ # and height must either both be present or not present at all. Note:
154
+ # There are other undocumented options if you look at ttk's source code.
155
+ @overload
156
+ def element_create(
157
+ self,
158
+ elementname: str,
159
+ etype: Literal["vsapi"],
160
+ class_: str,
161
+ part: int,
162
+ vs_statespec: _VsapiStatespec = ...,
163
+ /,
164
+ *,
165
+ padding: _Padding = ...,
166
+ ) -> None: ...
167
+ @overload
168
+ def element_create(
169
+ self,
170
+ elementname: str,
171
+ etype: Literal["vsapi"],
172
+ class_: str,
173
+ part: int,
174
+ vs_statespec: _VsapiStatespec = ...,
175
+ /,
176
+ *,
177
+ margin: _Padding = ...,
178
+ ) -> None: ...
179
+ @overload
180
+ def element_create(
181
+ self,
182
+ elementname: str,
183
+ etype: Literal["vsapi"],
184
+ class_: str,
185
+ part: int,
186
+ vs_statespec: _VsapiStatespec = ...,
187
+ /,
188
+ *,
189
+ width: float | str,
190
+ height: float | str,
191
+ ) -> None: ...
192
+
193
+ def element_names(self) -> tuple[str, ...]: ...
194
+ def element_options(self, elementname: str) -> tuple[str, ...]: ...
195
+ def theme_create(self, themename: str, parent: str | None = None, settings: _ThemeSettings | None = None) -> None: ...
196
+ def theme_settings(self, themename: str, settings: _ThemeSettings) -> None: ...
64
197
  def theme_names(self) -> tuple[str, ...]: ...
65
198
  @overload
66
199
  def theme_use(self, themename: str) -> None: ...
@@ -79,16 +212,16 @@ class Button(Widget):
79
212
  master: tkinter.Misc | None = None,
80
213
  *,
81
214
  class_: str = "",
82
- command: tkinter._ButtonCommand = "",
83
- compound: _TtkCompound = "",
215
+ command: str | Callable[[], Any] = "",
216
+ compound: Literal["", "text", "image", "top", "left", "center", "right", "bottom", "none"] = "",
84
217
  cursor: tkinter._Cursor = "",
85
218
  default: Literal["normal", "active", "disabled"] = "normal",
86
- image: tkinter._ImageSpec = "",
219
+ image: tkinter._Image | str = "",
87
220
  name: str = ...,
88
221
  padding=..., # undocumented
89
222
  state: str = "normal",
90
223
  style: str = "",
91
- takefocus: tkinter._TakeFocusValue = ...,
224
+ takefocus: bool | Literal[0, 1, ""] | Callable[[str], bool | None] = ...,
92
225
  text: float | str = "",
93
226
  textvariable: tkinter.Variable = ...,
94
227
  underline: int = -1,
@@ -99,15 +232,15 @@ class Button(Widget):
99
232
  self,
100
233
  cnf: dict[str, Any] | None = None,
101
234
  *,
102
- command: tkinter._ButtonCommand = ...,
103
- compound: _TtkCompound = ...,
235
+ command: str | Callable[[], Any] = ...,
236
+ compound: Literal["", "text", "image", "top", "left", "center", "right", "bottom", "none"] = ...,
104
237
  cursor: tkinter._Cursor = ...,
105
238
  default: Literal["normal", "active", "disabled"] = ...,
106
- image: tkinter._ImageSpec = ...,
239
+ image: tkinter._Image | str = ...,
107
240
  padding=...,
108
241
  state: str = ...,
109
242
  style: str = ...,
110
- takefocus: tkinter._TakeFocusValue = ...,
243
+ takefocus: bool | Literal[0, 1, ""] | Callable[[str], bool | None] = ...,
111
244
  text: float | str = ...,
112
245
  textvariable: tkinter.Variable = ...,
113
246
  underline: int = ...,
@@ -124,17 +257,17 @@ class Checkbutton(Widget):
124
257
  master: tkinter.Misc | None = None,
125
258
  *,
126
259
  class_: str = "",
127
- command: tkinter._ButtonCommand = "",
128
- compound: _TtkCompound = "",
260
+ command: str | Callable[[], Any] = "",
261
+ compound: Literal["", "text", "image", "top", "left", "center", "right", "bottom", "none"] = "",
129
262
  cursor: tkinter._Cursor = "",
130
- image: tkinter._ImageSpec = "",
263
+ image: tkinter._Image | str = "",
131
264
  name: str = ...,
132
265
  offvalue: Any = 0,
133
266
  onvalue: Any = 1,
134
267
  padding=..., # undocumented
135
268
  state: str = "normal",
136
269
  style: str = "",
137
- takefocus: tkinter._TakeFocusValue = ...,
270
+ takefocus: bool | Literal[0, 1, ""] | Callable[[str], bool | None] = ...,
138
271
  text: float | str = "",
139
272
  textvariable: tkinter.Variable = ...,
140
273
  underline: int = -1,
@@ -149,16 +282,16 @@ class Checkbutton(Widget):
149
282
  self,
150
283
  cnf: dict[str, Any] | None = None,
151
284
  *,
152
- command: tkinter._ButtonCommand = ...,
153
- compound: _TtkCompound = ...,
285
+ command: str | Callable[[], Any] = ...,
286
+ compound: Literal["", "text", "image", "top", "left", "center", "right", "bottom", "none"] = ...,
154
287
  cursor: tkinter._Cursor = ...,
155
- image: tkinter._ImageSpec = ...,
288
+ image: tkinter._Image | str = ...,
156
289
  offvalue: Any = ...,
157
290
  onvalue: Any = ...,
158
291
  padding=...,
159
292
  state: str = ...,
160
293
  style: str = ...,
161
- takefocus: tkinter._TakeFocusValue = ...,
294
+ takefocus: bool | Literal[0, 1, ""] | Callable[[str], bool | None] = ...,
162
295
  text: float | str = ...,
163
296
  textvariable: tkinter.Variable = ...,
164
297
  underline: int = ...,
@@ -182,18 +315,18 @@ class Entry(Widget, tkinter.Entry):
182
315
  exportselection: bool = True,
183
316
  font: _FontDescription = "TkTextFont",
184
317
  foreground: str = "",
185
- invalidcommand: tkinter._EntryValidateCommand = "",
318
+ invalidcommand: str | list[str] | tuple[str, ...] | Callable[[], bool] = "",
186
319
  justify: Literal["left", "center", "right"] = "left",
187
320
  name: str = ...,
188
321
  show: str = "",
189
322
  state: str = "normal",
190
323
  style: str = "",
191
- takefocus: tkinter._TakeFocusValue = ...,
324
+ takefocus: bool | Literal[0, 1, ""] | Callable[[str], bool | None] = ...,
192
325
  textvariable: tkinter.Variable = ...,
193
326
  validate: Literal["none", "focus", "focusin", "focusout", "key", "all"] = "none",
194
- validatecommand: tkinter._EntryValidateCommand = "",
327
+ validatecommand: str | list[str] | tuple[str, ...] | Callable[[], bool] = "",
195
328
  width: int = 20,
196
- xscrollcommand: tkinter._XYScrollCommand = "",
329
+ xscrollcommand: str | Callable[[float, float], object] = "",
197
330
  ) -> None: ...
198
331
  @overload # type: ignore[override]
199
332
  def configure(
@@ -205,17 +338,17 @@ class Entry(Widget, tkinter.Entry):
205
338
  exportselection: bool = ...,
206
339
  font: _FontDescription = ...,
207
340
  foreground: str = ...,
208
- invalidcommand: tkinter._EntryValidateCommand = ...,
341
+ invalidcommand: str | list[str] | tuple[str, ...] | Callable[[], bool] = ...,
209
342
  justify: Literal["left", "center", "right"] = ...,
210
343
  show: str = ...,
211
344
  state: str = ...,
212
345
  style: str = ...,
213
- takefocus: tkinter._TakeFocusValue = ...,
346
+ takefocus: bool | Literal[0, 1, ""] | Callable[[str], bool | None] = ...,
214
347
  textvariable: tkinter.Variable = ...,
215
348
  validate: Literal["none", "focus", "focusin", "focusout", "key", "all"] = ...,
216
- validatecommand: tkinter._EntryValidateCommand = ...,
349
+ validatecommand: str | list[str] | tuple[str, ...] | Callable[[], bool] = ...,
217
350
  width: int = ...,
218
- xscrollcommand: tkinter._XYScrollCommand = ...,
351
+ xscrollcommand: str | Callable[[float, float], object] = ...,
219
352
  ) -> dict[str, tuple[str, str, str, Any, Any]] | None: ...
220
353
  @overload
221
354
  def configure(self, cnf: str) -> tuple[str, str, str, Any, Any]: ...
@@ -230,17 +363,17 @@ class Entry(Widget, tkinter.Entry):
230
363
  exportselection: bool = ...,
231
364
  font: _FontDescription = ...,
232
365
  foreground: str = ...,
233
- invalidcommand: tkinter._EntryValidateCommand = ...,
366
+ invalidcommand: str | list[str] | tuple[str, ...] | Callable[[], bool] = ...,
234
367
  justify: Literal["left", "center", "right"] = ...,
235
368
  show: str = ...,
236
369
  state: str = ...,
237
370
  style: str = ...,
238
- takefocus: tkinter._TakeFocusValue = ...,
371
+ takefocus: bool | Literal[0, 1, ""] | Callable[[str], bool | None] = ...,
239
372
  textvariable: tkinter.Variable = ...,
240
373
  validate: Literal["none", "focus", "focusin", "focusout", "key", "all"] = ...,
241
- validatecommand: tkinter._EntryValidateCommand = ...,
374
+ validatecommand: str | list[str] | tuple[str, ...] | Callable[[], bool] = ...,
242
375
  width: int = ...,
243
- xscrollcommand: tkinter._XYScrollCommand = ...,
376
+ xscrollcommand: str | Callable[[float, float], object] = ...,
244
377
  ) -> dict[str, tuple[str, str, str, Any, Any]] | None: ...
245
378
  @overload
246
379
  def config(self, cnf: str) -> tuple[str, str, str, Any, Any]: ...
@@ -260,20 +393,20 @@ class Combobox(Entry):
260
393
  font: _FontDescription = ..., # undocumented
261
394
  foreground: str = ..., # undocumented
262
395
  height: int = 10,
263
- invalidcommand: tkinter._EntryValidateCommand = ..., # undocumented
396
+ invalidcommand: str | list[str] | tuple[str, ...] | Callable[[], bool] = ..., # undocumented
264
397
  justify: Literal["left", "center", "right"] = "left",
265
398
  name: str = ...,
266
399
  postcommand: Callable[[], object] | str = "",
267
400
  show=..., # undocumented
268
401
  state: str = "normal",
269
402
  style: str = "",
270
- takefocus: tkinter._TakeFocusValue = ...,
403
+ takefocus: bool | Literal[0, 1, ""] | Callable[[str], bool | None] = ...,
271
404
  textvariable: tkinter.Variable = ...,
272
405
  validate: Literal["none", "focus", "focusin", "focusout", "key", "all"] = ..., # undocumented
273
- validatecommand: tkinter._EntryValidateCommand = ..., # undocumented
406
+ validatecommand: str | list[str] | tuple[str, ...] | Callable[[], bool] = ..., # undocumented
274
407
  values: list[str] | tuple[str, ...] = ...,
275
408
  width: int = 20,
276
- xscrollcommand: tkinter._XYScrollCommand = ..., # undocumented
409
+ xscrollcommand: str | Callable[[float, float], object] = ..., # undocumented
277
410
  ) -> None: ...
278
411
  @overload # type: ignore[override]
279
412
  def configure(
@@ -286,19 +419,19 @@ class Combobox(Entry):
286
419
  font: _FontDescription = ...,
287
420
  foreground: str = ...,
288
421
  height: int = ...,
289
- invalidcommand: tkinter._EntryValidateCommand = ...,
422
+ invalidcommand: str | list[str] | tuple[str, ...] | Callable[[], bool] = ...,
290
423
  justify: Literal["left", "center", "right"] = ...,
291
424
  postcommand: Callable[[], object] | str = ...,
292
425
  show=...,
293
426
  state: str = ...,
294
427
  style: str = ...,
295
- takefocus: tkinter._TakeFocusValue = ...,
428
+ takefocus: bool | Literal[0, 1, ""] | Callable[[str], bool | None] = ...,
296
429
  textvariable: tkinter.Variable = ...,
297
430
  validate: Literal["none", "focus", "focusin", "focusout", "key", "all"] = ...,
298
- validatecommand: tkinter._EntryValidateCommand = ...,
431
+ validatecommand: str | list[str] | tuple[str, ...] | Callable[[], bool] = ...,
299
432
  values: list[str] | tuple[str, ...] = ...,
300
433
  width: int = ...,
301
- xscrollcommand: tkinter._XYScrollCommand = ...,
434
+ xscrollcommand: str | Callable[[float, float], object] = ...,
302
435
  ) -> dict[str, tuple[str, str, str, Any, Any]] | None: ...
303
436
  @overload
304
437
  def configure(self, cnf: str) -> tuple[str, str, str, Any, Any]: ...
@@ -314,19 +447,19 @@ class Combobox(Entry):
314
447
  font: _FontDescription = ...,
315
448
  foreground: str = ...,
316
449
  height: int = ...,
317
- invalidcommand: tkinter._EntryValidateCommand = ...,
450
+ invalidcommand: str | list[str] | tuple[str, ...] | Callable[[], bool] = ...,
318
451
  justify: Literal["left", "center", "right"] = ...,
319
452
  postcommand: Callable[[], object] | str = ...,
320
453
  show=...,
321
454
  state: str = ...,
322
455
  style: str = ...,
323
- takefocus: tkinter._TakeFocusValue = ...,
456
+ takefocus: bool | Literal[0, 1, ""] | Callable[[str], bool | None] = ...,
324
457
  textvariable: tkinter.Variable = ...,
325
458
  validate: Literal["none", "focus", "focusin", "focusout", "key", "all"] = ...,
326
- validatecommand: tkinter._EntryValidateCommand = ...,
459
+ validatecommand: str | list[str] | tuple[str, ...] | Callable[[], bool] = ...,
327
460
  values: list[str] | tuple[str, ...] = ...,
328
461
  width: int = ...,
329
- xscrollcommand: tkinter._XYScrollCommand = ...,
462
+ xscrollcommand: str | Callable[[float, float], object] = ...,
330
463
  ) -> dict[str, tuple[str, str, str, Any, Any]] | None: ...
331
464
  @overload
332
465
  def config(self, cnf: str) -> tuple[str, str, str, Any, Any]: ...
@@ -340,32 +473,32 @@ class Frame(Widget):
340
473
  self,
341
474
  master: tkinter.Misc | None = None,
342
475
  *,
343
- border: tkinter._ScreenUnits = ...,
344
- borderwidth: tkinter._ScreenUnits = ...,
476
+ border: float | str = ...,
477
+ borderwidth: float | str = ...,
345
478
  class_: str = "",
346
479
  cursor: tkinter._Cursor = "",
347
- height: tkinter._ScreenUnits = 0,
480
+ height: float | str = 0,
348
481
  name: str = ...,
349
482
  padding: _Padding = ...,
350
- relief: tkinter._Relief = ...,
483
+ relief: Literal["raised", "sunken", "flat", "ridge", "solid", "groove"] = ...,
351
484
  style: str = "",
352
- takefocus: tkinter._TakeFocusValue = "",
353
- width: tkinter._ScreenUnits = 0,
485
+ takefocus: bool | Literal[0, 1, ""] | Callable[[str], bool | None] = "",
486
+ width: float | str = 0,
354
487
  ) -> None: ...
355
488
  @overload
356
489
  def configure(
357
490
  self,
358
491
  cnf: dict[str, Any] | None = None,
359
492
  *,
360
- border: tkinter._ScreenUnits = ...,
361
- borderwidth: tkinter._ScreenUnits = ...,
493
+ border: float | str = ...,
494
+ borderwidth: float | str = ...,
362
495
  cursor: tkinter._Cursor = ...,
363
- height: tkinter._ScreenUnits = ...,
496
+ height: float | str = ...,
364
497
  padding: _Padding = ...,
365
- relief: tkinter._Relief = ...,
498
+ relief: Literal["raised", "sunken", "flat", "ridge", "solid", "groove"] = ...,
366
499
  style: str = ...,
367
- takefocus: tkinter._TakeFocusValue = ...,
368
- width: tkinter._ScreenUnits = ...,
500
+ takefocus: bool | Literal[0, 1, ""] | Callable[[str], bool | None] = ...,
501
+ width: float | str = ...,
369
502
  ) -> dict[str, tuple[str, str, str, Any, Any]] | None: ...
370
503
  @overload
371
504
  def configure(self, cnf: str) -> tuple[str, str, str, Any, Any]: ...
@@ -376,54 +509,54 @@ class Label(Widget):
376
509
  self,
377
510
  master: tkinter.Misc | None = None,
378
511
  *,
379
- anchor: tkinter._Anchor = ...,
512
+ anchor: Literal["nw", "n", "ne", "w", "center", "e", "sw", "s", "se"] = ...,
380
513
  background: str = "",
381
- border: tkinter._ScreenUnits = ..., # alias for borderwidth
382
- borderwidth: tkinter._ScreenUnits = ..., # undocumented
514
+ border: float | str = ..., # alias for borderwidth
515
+ borderwidth: float | str = ..., # undocumented
383
516
  class_: str = "",
384
- compound: _TtkCompound = "",
517
+ compound: Literal["", "text", "image", "top", "left", "center", "right", "bottom", "none"] = "",
385
518
  cursor: tkinter._Cursor = "",
386
519
  font: _FontDescription = ...,
387
520
  foreground: str = "",
388
- image: tkinter._ImageSpec = "",
521
+ image: tkinter._Image | str = "",
389
522
  justify: Literal["left", "center", "right"] = ...,
390
523
  name: str = ...,
391
524
  padding: _Padding = ...,
392
- relief: tkinter._Relief = ...,
525
+ relief: Literal["raised", "sunken", "flat", "ridge", "solid", "groove"] = ...,
393
526
  state: str = "normal",
394
527
  style: str = "",
395
- takefocus: tkinter._TakeFocusValue = "",
528
+ takefocus: bool | Literal[0, 1, ""] | Callable[[str], bool | None] = "",
396
529
  text: float | str = "",
397
530
  textvariable: tkinter.Variable = ...,
398
531
  underline: int = -1,
399
532
  width: int | Literal[""] = "",
400
- wraplength: tkinter._ScreenUnits = ...,
533
+ wraplength: float | str = ...,
401
534
  ) -> None: ...
402
535
  @overload
403
536
  def configure(
404
537
  self,
405
538
  cnf: dict[str, Any] | None = None,
406
539
  *,
407
- anchor: tkinter._Anchor = ...,
540
+ anchor: Literal["nw", "n", "ne", "w", "center", "e", "sw", "s", "se"] = ...,
408
541
  background: str = ...,
409
- border: tkinter._ScreenUnits = ...,
410
- borderwidth: tkinter._ScreenUnits = ...,
411
- compound: _TtkCompound = ...,
542
+ border: float | str = ...,
543
+ borderwidth: float | str = ...,
544
+ compound: Literal["", "text", "image", "top", "left", "center", "right", "bottom", "none"] = ...,
412
545
  cursor: tkinter._Cursor = ...,
413
546
  font: _FontDescription = ...,
414
547
  foreground: str = ...,
415
- image: tkinter._ImageSpec = ...,
548
+ image: tkinter._Image | str = ...,
416
549
  justify: Literal["left", "center", "right"] = ...,
417
550
  padding: _Padding = ...,
418
- relief: tkinter._Relief = ...,
551
+ relief: Literal["raised", "sunken", "flat", "ridge", "solid", "groove"] = ...,
419
552
  state: str = ...,
420
553
  style: str = ...,
421
- takefocus: tkinter._TakeFocusValue = ...,
554
+ takefocus: bool | Literal[0, 1, ""] | Callable[[str], bool | None] = ...,
422
555
  text: float | str = ...,
423
556
  textvariable: tkinter.Variable = ...,
424
557
  underline: int = ...,
425
558
  width: int | Literal[""] = ...,
426
- wraplength: tkinter._ScreenUnits = ...,
559
+ wraplength: float | str = ...,
427
560
  ) -> dict[str, tuple[str, str, str, Any, Any]] | None: ...
428
561
  @overload
429
562
  def configure(self, cnf: str) -> tuple[str, str, str, Any, Any]: ...
@@ -434,40 +567,40 @@ class Labelframe(Widget):
434
567
  self,
435
568
  master: tkinter.Misc | None = None,
436
569
  *,
437
- border: tkinter._ScreenUnits = ...,
438
- borderwidth: tkinter._ScreenUnits = ..., # undocumented
570
+ border: float | str = ...,
571
+ borderwidth: float | str = ..., # undocumented
439
572
  class_: str = "",
440
573
  cursor: tkinter._Cursor = "",
441
- height: tkinter._ScreenUnits = 0,
574
+ height: float | str = 0,
442
575
  labelanchor: Literal["nw", "n", "ne", "en", "e", "es", "se", "s", "sw", "ws", "w", "wn"] = ...,
443
576
  labelwidget: tkinter.Misc = ...,
444
577
  name: str = ...,
445
578
  padding: _Padding = ...,
446
- relief: tkinter._Relief = ..., # undocumented
579
+ relief: Literal["raised", "sunken", "flat", "ridge", "solid", "groove"] = ..., # undocumented
447
580
  style: str = "",
448
- takefocus: tkinter._TakeFocusValue = "",
581
+ takefocus: bool | Literal[0, 1, ""] | Callable[[str], bool | None] = "",
449
582
  text: float | str = "",
450
583
  underline: int = -1,
451
- width: tkinter._ScreenUnits = 0,
584
+ width: float | str = 0,
452
585
  ) -> None: ...
453
586
  @overload
454
587
  def configure(
455
588
  self,
456
589
  cnf: dict[str, Any] | None = None,
457
590
  *,
458
- border: tkinter._ScreenUnits = ...,
459
- borderwidth: tkinter._ScreenUnits = ...,
591
+ border: float | str = ...,
592
+ borderwidth: float | str = ...,
460
593
  cursor: tkinter._Cursor = ...,
461
- height: tkinter._ScreenUnits = ...,
594
+ height: float | str = ...,
462
595
  labelanchor: Literal["nw", "n", "ne", "en", "e", "es", "se", "s", "sw", "ws", "w", "wn"] = ...,
463
596
  labelwidget: tkinter.Misc = ...,
464
597
  padding: _Padding = ...,
465
- relief: tkinter._Relief = ...,
598
+ relief: Literal["raised", "sunken", "flat", "ridge", "solid", "groove"] = ...,
466
599
  style: str = ...,
467
- takefocus: tkinter._TakeFocusValue = ...,
600
+ takefocus: bool | Literal[0, 1, ""] | Callable[[str], bool | None] = ...,
468
601
  text: float | str = ...,
469
602
  underline: int = ...,
470
- width: tkinter._ScreenUnits = ...,
603
+ width: float | str = ...,
471
604
  ) -> dict[str, tuple[str, str, str, Any, Any]] | None: ...
472
605
  @overload
473
606
  def configure(self, cnf: str) -> tuple[str, str, str, Any, Any]: ...
@@ -481,16 +614,16 @@ class Menubutton(Widget):
481
614
  master: tkinter.Misc | None = None,
482
615
  *,
483
616
  class_: str = "",
484
- compound: _TtkCompound = "",
617
+ compound: Literal["", "text", "image", "top", "left", "center", "right", "bottom", "none"] = "",
485
618
  cursor: tkinter._Cursor = "",
486
619
  direction: Literal["above", "below", "left", "right", "flush"] = "below",
487
- image: tkinter._ImageSpec = "",
620
+ image: tkinter._Image | str = "",
488
621
  menu: tkinter.Menu = ...,
489
622
  name: str = ...,
490
623
  padding=..., # undocumented
491
624
  state: str = "normal",
492
625
  style: str = "",
493
- takefocus: tkinter._TakeFocusValue = ...,
626
+ takefocus: bool | Literal[0, 1, ""] | Callable[[str], bool | None] = ...,
494
627
  text: float | str = "",
495
628
  textvariable: tkinter.Variable = ...,
496
629
  underline: int = -1,
@@ -501,15 +634,15 @@ class Menubutton(Widget):
501
634
  self,
502
635
  cnf: dict[str, Any] | None = None,
503
636
  *,
504
- compound: _TtkCompound = ...,
637
+ compound: Literal["", "text", "image", "top", "left", "center", "right", "bottom", "none"] = ...,
505
638
  cursor: tkinter._Cursor = ...,
506
639
  direction: Literal["above", "below", "left", "right", "flush"] = ...,
507
- image: tkinter._ImageSpec = ...,
640
+ image: tkinter._Image | str = ...,
508
641
  menu: tkinter.Menu = ...,
509
642
  padding=...,
510
643
  state: str = ...,
511
644
  style: str = ...,
512
- takefocus: tkinter._TakeFocusValue = ...,
645
+ takefocus: bool | Literal[0, 1, ""] | Callable[[str], bool | None] = ...,
513
646
  text: float | str = ...,
514
647
  textvariable: tkinter.Variable = ...,
515
648
  underline: int = ...,
@@ -530,7 +663,7 @@ class Notebook(Widget):
530
663
  name: str = ...,
531
664
  padding: _Padding = ...,
532
665
  style: str = "",
533
- takefocus: tkinter._TakeFocusValue = ...,
666
+ takefocus: bool | Literal[0, 1, ""] | Callable[[str], bool | None] = ...,
534
667
  width: int = 0,
535
668
  ) -> None: ...
536
669
  @overload
@@ -542,7 +675,7 @@ class Notebook(Widget):
542
675
  height: int = ...,
543
676
  padding: _Padding = ...,
544
677
  style: str = ...,
545
- takefocus: tkinter._TakeFocusValue = ...,
678
+ takefocus: bool | Literal[0, 1, ""] | Callable[[str], bool | None] = ...,
546
679
  width: int = ...,
547
680
  ) -> dict[str, tuple[str, str, str, Any, Any]] | None: ...
548
681
  @overload
@@ -559,7 +692,7 @@ class Notebook(Widget):
559
692
  # `image` is a sequence of an image name, followed by zero or more
560
693
  # (sequences of one or more state names followed by an image name)
561
694
  image=...,
562
- compound: tkinter._Compound = ...,
695
+ compound: Literal["top", "left", "center", "right", "bottom", "none"] = ...,
563
696
  underline: int = ...,
564
697
  ) -> None: ...
565
698
  def forget(self, tab_id) -> None: ... # type: ignore[override]
@@ -584,7 +717,7 @@ class Panedwindow(Widget, tkinter.PanedWindow):
584
717
  name: str = ...,
585
718
  orient: Literal["vertical", "horizontal"] = "vertical", # can't be changed with configure()
586
719
  style: str = "",
587
- takefocus: tkinter._TakeFocusValue = "",
720
+ takefocus: bool | Literal[0, 1, ""] | Callable[[str], bool | None] = "",
588
721
  width: int = 0,
589
722
  ) -> None: ...
590
723
  def add(self, child: tkinter.Widget, *, weight: int = ..., **kw) -> None: ...
@@ -596,7 +729,7 @@ class Panedwindow(Widget, tkinter.PanedWindow):
596
729
  cursor: tkinter._Cursor = ...,
597
730
  height: int = ...,
598
731
  style: str = ...,
599
- takefocus: tkinter._TakeFocusValue = ...,
732
+ takefocus: bool | Literal[0, 1, ""] | Callable[[str], bool | None] = ...,
600
733
  width: int = ...,
601
734
  ) -> dict[str, tuple[str, str, str, Any, Any]] | None: ...
602
735
  @overload
@@ -610,12 +743,12 @@ class Panedwindow(Widget, tkinter.PanedWindow):
610
743
  cursor: tkinter._Cursor = ...,
611
744
  height: int = ...,
612
745
  style: str = ...,
613
- takefocus: tkinter._TakeFocusValue = ...,
746
+ takefocus: bool | Literal[0, 1, ""] | Callable[[str], bool | None] = ...,
614
747
  width: int = ...,
615
748
  ) -> dict[str, tuple[str, str, str, Any, Any]] | None: ...
616
749
  @overload
617
750
  def config(self, cnf: str) -> tuple[str, str, str, Any, Any]: ...
618
- forget: Incomplete
751
+ forget = tkinter.PanedWindow.forget
619
752
  def insert(self, pos, child, **kw) -> None: ...
620
753
  def pane(self, pane, option=None, **kw): ...
621
754
  def sashpos(self, index, newpos=None): ...
@@ -629,14 +762,14 @@ class Progressbar(Widget):
629
762
  *,
630
763
  class_: str = "",
631
764
  cursor: tkinter._Cursor = "",
632
- length: tkinter._ScreenUnits = 100,
765
+ length: float | str = 100,
633
766
  maximum: float = 100,
634
767
  mode: Literal["determinate", "indeterminate"] = "determinate",
635
768
  name: str = ...,
636
769
  orient: Literal["horizontal", "vertical"] = "horizontal",
637
770
  phase: int = 0, # docs say read-only but assigning int to this works
638
771
  style: str = "",
639
- takefocus: tkinter._TakeFocusValue = "",
772
+ takefocus: bool | Literal[0, 1, ""] | Callable[[str], bool | None] = "",
640
773
  value: float = 0.0,
641
774
  variable: tkinter.IntVar | tkinter.DoubleVar = ...,
642
775
  ) -> None: ...
@@ -646,13 +779,13 @@ class Progressbar(Widget):
646
779
  cnf: dict[str, Any] | None = None,
647
780
  *,
648
781
  cursor: tkinter._Cursor = ...,
649
- length: tkinter._ScreenUnits = ...,
782
+ length: float | str = ...,
650
783
  maximum: float = ...,
651
784
  mode: Literal["determinate", "indeterminate"] = ...,
652
785
  orient: Literal["horizontal", "vertical"] = ...,
653
786
  phase: int = ...,
654
787
  style: str = ...,
655
- takefocus: tkinter._TakeFocusValue = ...,
788
+ takefocus: bool | Literal[0, 1, ""] | Callable[[str], bool | None] = ...,
656
789
  value: float = ...,
657
790
  variable: tkinter.IntVar | tkinter.DoubleVar = ...,
658
791
  ) -> dict[str, tuple[str, str, str, Any, Any]] | None: ...
@@ -669,15 +802,15 @@ class Radiobutton(Widget):
669
802
  master: tkinter.Misc | None = None,
670
803
  *,
671
804
  class_: str = "",
672
- command: tkinter._ButtonCommand = "",
673
- compound: _TtkCompound = "",
805
+ command: str | Callable[[], Any] = "",
806
+ compound: Literal["", "text", "image", "top", "left", "center", "right", "bottom", "none"] = "",
674
807
  cursor: tkinter._Cursor = "",
675
- image: tkinter._ImageSpec = "",
808
+ image: tkinter._Image | str = "",
676
809
  name: str = ...,
677
810
  padding=..., # undocumented
678
811
  state: str = "normal",
679
812
  style: str = "",
680
- takefocus: tkinter._TakeFocusValue = ...,
813
+ takefocus: bool | Literal[0, 1, ""] | Callable[[str], bool | None] = ...,
681
814
  text: float | str = "",
682
815
  textvariable: tkinter.Variable = ...,
683
816
  underline: int = -1,
@@ -690,14 +823,14 @@ class Radiobutton(Widget):
690
823
  self,
691
824
  cnf: dict[str, Any] | None = None,
692
825
  *,
693
- command: tkinter._ButtonCommand = ...,
694
- compound: _TtkCompound = ...,
826
+ command: str | Callable[[], Any] = ...,
827
+ compound: Literal["", "text", "image", "top", "left", "center", "right", "bottom", "none"] = ...,
695
828
  cursor: tkinter._Cursor = ...,
696
- image: tkinter._ImageSpec = ...,
829
+ image: tkinter._Image | str = ...,
697
830
  padding=...,
698
831
  state: str = ...,
699
832
  style: str = ...,
700
- takefocus: tkinter._TakeFocusValue = ...,
833
+ takefocus: bool | Literal[0, 1, ""] | Callable[[str], bool | None] = ...,
701
834
  text: float | str = ...,
702
835
  textvariable: tkinter.Variable = ...,
703
836
  underline: int = ...,
@@ -720,12 +853,12 @@ class Scale(Widget, tkinter.Scale): # type: ignore[misc]
720
853
  command: str | Callable[[str], object] = "",
721
854
  cursor: tkinter._Cursor = "",
722
855
  from_: float = 0,
723
- length: tkinter._ScreenUnits = 100,
856
+ length: float | str = 100,
724
857
  name: str = ...,
725
858
  orient: Literal["horizontal", "vertical"] = "horizontal",
726
859
  state: str = ..., # undocumented
727
860
  style: str = "",
728
- takefocus: tkinter._TakeFocusValue = ...,
861
+ takefocus: bool | Literal[0, 1, ""] | Callable[[str], bool | None] = ...,
729
862
  to: float = 1.0,
730
863
  value: float = 0,
731
864
  variable: tkinter.IntVar | tkinter.DoubleVar = ...,
@@ -738,11 +871,11 @@ class Scale(Widget, tkinter.Scale): # type: ignore[misc]
738
871
  command: str | Callable[[str], object] = ...,
739
872
  cursor: tkinter._Cursor = ...,
740
873
  from_: float = ...,
741
- length: tkinter._ScreenUnits = ...,
874
+ length: float | str = ...,
742
875
  orient: Literal["horizontal", "vertical"] = ...,
743
876
  state: str = ...,
744
877
  style: str = ...,
745
- takefocus: tkinter._TakeFocusValue = ...,
878
+ takefocus: bool | Literal[0, 1, ""] | Callable[[str], bool | None] = ...,
746
879
  to: float = ...,
747
880
  value: float = ...,
748
881
  variable: tkinter.IntVar | tkinter.DoubleVar = ...,
@@ -758,11 +891,11 @@ class Scale(Widget, tkinter.Scale): # type: ignore[misc]
758
891
  command: str | Callable[[str], object] = ...,
759
892
  cursor: tkinter._Cursor = ...,
760
893
  from_: float = ...,
761
- length: tkinter._ScreenUnits = ...,
894
+ length: float | str = ...,
762
895
  orient: Literal["horizontal", "vertical"] = ...,
763
896
  state: str = ...,
764
897
  style: str = ...,
765
- takefocus: tkinter._TakeFocusValue = ...,
898
+ takefocus: bool | Literal[0, 1, ""] | Callable[[str], bool | None] = ...,
766
899
  to: float = ...,
767
900
  value: float = ...,
768
901
  variable: tkinter.IntVar | tkinter.DoubleVar = ...,
@@ -783,7 +916,7 @@ class Scrollbar(Widget, tkinter.Scrollbar): # type: ignore[misc]
783
916
  name: str = ...,
784
917
  orient: Literal["horizontal", "vertical"] = "vertical",
785
918
  style: str = "",
786
- takefocus: tkinter._TakeFocusValue = "",
919
+ takefocus: bool | Literal[0, 1, ""] | Callable[[str], bool | None] = "",
787
920
  ) -> None: ...
788
921
  @overload # type: ignore[override]
789
922
  def configure(
@@ -794,7 +927,7 @@ class Scrollbar(Widget, tkinter.Scrollbar): # type: ignore[misc]
794
927
  cursor: tkinter._Cursor = ...,
795
928
  orient: Literal["horizontal", "vertical"] = ...,
796
929
  style: str = ...,
797
- takefocus: tkinter._TakeFocusValue = ...,
930
+ takefocus: bool | Literal[0, 1, ""] | Callable[[str], bool | None] = ...,
798
931
  ) -> dict[str, tuple[str, str, str, Any, Any]] | None: ...
799
932
  @overload
800
933
  def configure(self, cnf: str) -> tuple[str, str, str, Any, Any]: ...
@@ -808,7 +941,7 @@ class Scrollbar(Widget, tkinter.Scrollbar): # type: ignore[misc]
808
941
  cursor: tkinter._Cursor = ...,
809
942
  orient: Literal["horizontal", "vertical"] = ...,
810
943
  style: str = ...,
811
- takefocus: tkinter._TakeFocusValue = ...,
944
+ takefocus: bool | Literal[0, 1, ""] | Callable[[str], bool | None] = ...,
812
945
  ) -> dict[str, tuple[str, str, str, Any, Any]] | None: ...
813
946
  @overload
814
947
  def config(self, cnf: str) -> tuple[str, str, str, Any, Any]: ...
@@ -823,7 +956,7 @@ class Separator(Widget):
823
956
  name: str = ...,
824
957
  orient: Literal["horizontal", "vertical"] = "horizontal",
825
958
  style: str = "",
826
- takefocus: tkinter._TakeFocusValue = "",
959
+ takefocus: bool | Literal[0, 1, ""] | Callable[[str], bool | None] = "",
827
960
  ) -> None: ...
828
961
  @overload
829
962
  def configure(
@@ -833,7 +966,7 @@ class Separator(Widget):
833
966
  cursor: tkinter._Cursor = ...,
834
967
  orient: Literal["horizontal", "vertical"] = ...,
835
968
  style: str = ...,
836
- takefocus: tkinter._TakeFocusValue = ...,
969
+ takefocus: bool | Literal[0, 1, ""] | Callable[[str], bool | None] = ...,
837
970
  ) -> dict[str, tuple[str, str, str, Any, Any]] | None: ...
838
971
  @overload
839
972
  def configure(self, cnf: str) -> tuple[str, str, str, Any, Any]: ...
@@ -848,7 +981,7 @@ class Sizegrip(Widget):
848
981
  cursor: tkinter._Cursor = ...,
849
982
  name: str = ...,
850
983
  style: str = "",
851
- takefocus: tkinter._TakeFocusValue = "",
984
+ takefocus: bool | Literal[0, 1, ""] | Callable[[str], bool | None] = "",
852
985
  ) -> None: ...
853
986
  @overload
854
987
  def configure(
@@ -857,7 +990,7 @@ class Sizegrip(Widget):
857
990
  *,
858
991
  cursor: tkinter._Cursor = ...,
859
992
  style: str = ...,
860
- takefocus: tkinter._TakeFocusValue = ...,
993
+ takefocus: bool | Literal[0, 1, ""] | Callable[[str], bool | None] = ...,
861
994
  ) -> dict[str, tuple[str, str, str, Any, Any]] | None: ...
862
995
  @overload
863
996
  def configure(self, cnf: str) -> tuple[str, str, str, Any, Any]: ...
@@ -878,21 +1011,21 @@ class Spinbox(Entry):
878
1011
  format: str = "",
879
1012
  from_: float = 0,
880
1013
  increment: float = 1,
881
- invalidcommand: tkinter._EntryValidateCommand = ..., # undocumented
1014
+ invalidcommand: str | list[str] | tuple[str, ...] | Callable[[], bool] = ..., # undocumented
882
1015
  justify: Literal["left", "center", "right"] = ..., # undocumented
883
1016
  name: str = ...,
884
1017
  show=..., # undocumented
885
1018
  state: str = "normal",
886
1019
  style: str = "",
887
- takefocus: tkinter._TakeFocusValue = ...,
1020
+ takefocus: bool | Literal[0, 1, ""] | Callable[[str], bool | None] = ...,
888
1021
  textvariable: tkinter.Variable = ..., # undocumented
889
1022
  to: float = 0,
890
1023
  validate: Literal["none", "focus", "focusin", "focusout", "key", "all"] = "none",
891
- validatecommand: tkinter._EntryValidateCommand = "",
1024
+ validatecommand: str | list[str] | tuple[str, ...] | Callable[[], bool] = "",
892
1025
  values: list[str] | tuple[str, ...] = ...,
893
1026
  width: int = ..., # undocumented
894
1027
  wrap: bool = False,
895
- xscrollcommand: tkinter._XYScrollCommand = "",
1028
+ xscrollcommand: str | Callable[[float, float], object] = "",
896
1029
  ) -> None: ...
897
1030
  @overload # type: ignore[override]
898
1031
  def configure(
@@ -908,20 +1041,20 @@ class Spinbox(Entry):
908
1041
  format: str = ...,
909
1042
  from_: float = ...,
910
1043
  increment: float = ...,
911
- invalidcommand: tkinter._EntryValidateCommand = ...,
1044
+ invalidcommand: str | list[str] | tuple[str, ...] | Callable[[], bool] = ...,
912
1045
  justify: Literal["left", "center", "right"] = ...,
913
1046
  show=...,
914
1047
  state: str = ...,
915
1048
  style: str = ...,
916
- takefocus: tkinter._TakeFocusValue = ...,
1049
+ takefocus: bool | Literal[0, 1, ""] | Callable[[str], bool | None] = ...,
917
1050
  textvariable: tkinter.Variable = ...,
918
1051
  to: float = ...,
919
1052
  validate: Literal["none", "focus", "focusin", "focusout", "key", "all"] = ...,
920
- validatecommand: tkinter._EntryValidateCommand = ...,
1053
+ validatecommand: str | list[str] | tuple[str, ...] | Callable[[], bool] = ...,
921
1054
  values: list[str] | tuple[str, ...] = ...,
922
1055
  width: int = ...,
923
1056
  wrap: bool = ...,
924
- xscrollcommand: tkinter._XYScrollCommand = ...,
1057
+ xscrollcommand: str | Callable[[float, float], object] = ...,
925
1058
  ) -> dict[str, tuple[str, str, str, Any, Any]] | None: ...
926
1059
  @overload
927
1060
  def configure(self, cnf: str) -> tuple[str, str, str, Any, Any]: ...
@@ -948,7 +1081,7 @@ class _TreeviewTagDict(TypedDict):
948
1081
  class _TreeviewHeaderDict(TypedDict):
949
1082
  text: str
950
1083
  image: list[str] | Literal[""]
951
- anchor: tkinter._Anchor
1084
+ anchor: Literal["nw", "n", "ne", "w", "center", "e", "sw", "s", "se"]
952
1085
  command: str
953
1086
  state: str # Doesn't seem to appear anywhere else than in these dicts
954
1087
 
@@ -957,7 +1090,7 @@ class _TreeviewColumnDict(TypedDict):
957
1090
  width: int
958
1091
  minwidth: int
959
1092
  stretch: bool # actually 0 or 1
960
- anchor: tkinter._Anchor
1093
+ anchor: Literal["nw", "n", "ne", "w", "center", "e", "sw", "s", "se"]
961
1094
  id: str
962
1095
 
963
1096
  class Treeview(Widget, tkinter.XView, tkinter.YView):
@@ -979,9 +1112,9 @@ class Treeview(Widget, tkinter.XView, tkinter.YView):
979
1112
  # surprised if someone is using it.
980
1113
  show: Literal["tree", "headings", "tree headings", ""] | list[str] | tuple[str, ...] = ("tree", "headings"),
981
1114
  style: str = "",
982
- takefocus: tkinter._TakeFocusValue = ...,
983
- xscrollcommand: tkinter._XYScrollCommand = "",
984
- yscrollcommand: tkinter._XYScrollCommand = "",
1115
+ takefocus: bool | Literal[0, 1, ""] | Callable[[str], bool | None] = ...,
1116
+ xscrollcommand: str | Callable[[float, float], object] = "",
1117
+ yscrollcommand: str | Callable[[float, float], object] = "",
985
1118
  ) -> None: ...
986
1119
  @overload
987
1120
  def configure(
@@ -996,9 +1129,9 @@ class Treeview(Widget, tkinter.XView, tkinter.YView):
996
1129
  selectmode: Literal["extended", "browse", "none"] = ...,
997
1130
  show: Literal["tree", "headings", "tree headings", ""] | list[str] | tuple[str, ...] = ...,
998
1131
  style: str = ...,
999
- takefocus: tkinter._TakeFocusValue = ...,
1000
- xscrollcommand: tkinter._XYScrollCommand = ...,
1001
- yscrollcommand: tkinter._XYScrollCommand = ...,
1132
+ takefocus: bool | Literal[0, 1, ""] | Callable[[str], bool | None] = ...,
1133
+ xscrollcommand: str | Callable[[float, float], object] = ...,
1134
+ yscrollcommand: str | Callable[[float, float], object] = ...,
1002
1135
  ) -> dict[str, tuple[str, str, str, Any, Any]] | None: ...
1003
1136
  @overload
1004
1137
  def configure(self, cnf: str) -> tuple[str, str, str, Any, Any]: ...
@@ -1025,7 +1158,7 @@ class Treeview(Widget, tkinter.XView, tkinter.YView):
1025
1158
  width: int = ...,
1026
1159
  minwidth: int = ...,
1027
1160
  stretch: bool = ...,
1028
- anchor: tkinter._Anchor = ...,
1161
+ anchor: Literal["nw", "n", "ne", "w", "center", "e", "sw", "s", "se"] = ...,
1029
1162
  # id is read-only
1030
1163
  ) -> _TreeviewColumnDict | None: ...
1031
1164
  def delete(self, *items: str | int) -> None: ...
@@ -1054,8 +1187,8 @@ class Treeview(Widget, tkinter.XView, tkinter.YView):
1054
1187
  option: None = None,
1055
1188
  *,
1056
1189
  text: str = ...,
1057
- image: tkinter._ImageSpec = ...,
1058
- anchor: tkinter._Anchor = ...,
1190
+ image: tkinter._Image | str = ...,
1191
+ anchor: Literal["nw", "n", "ne", "w", "center", "e", "sw", "s", "se"] = ...,
1059
1192
  command: str | Callable[[], object] = ...,
1060
1193
  ) -> None: ...
1061
1194
  # Internal Method. Leave untyped:
@@ -1073,7 +1206,7 @@ class Treeview(Widget, tkinter.XView, tkinter.YView):
1073
1206
  *,
1074
1207
  id: str | int = ..., # same as iid
1075
1208
  text: str = ...,
1076
- image: tkinter._ImageSpec = ...,
1209
+ image: tkinter._Image | str = ...,
1077
1210
  values: list[Any] | tuple[Any, ...] = ...,
1078
1211
  open: bool = ...,
1079
1212
  tags: str | list[str] | tuple[str, ...] = ...,
@@ -1099,7 +1232,7 @@ class Treeview(Widget, tkinter.XView, tkinter.YView):
1099
1232
  option: None = None,
1100
1233
  *,
1101
1234
  text: str = ...,
1102
- image: tkinter._ImageSpec = ...,
1235
+ image: tkinter._Image | str = ...,
1103
1236
  values: list[Any] | tuple[Any, ...] | Literal[""] = ...,
1104
1237
  open: bool = ...,
1105
1238
  tags: str | list[str] | tuple[str, ...] = ...,
@@ -1159,7 +1292,7 @@ class Treeview(Widget, tkinter.XView, tkinter.YView):
1159
1292
  foreground: str = ...,
1160
1293
  background: str = ...,
1161
1294
  font: _FontDescription = ...,
1162
- image: tkinter._ImageSpec = ...,
1295
+ image: tkinter._Image | str = ...,
1163
1296
  ) -> _TreeviewTagDict | MaybeNone: ... # can be None but annoying to check
1164
1297
  @overload
1165
1298
  def tag_has(self, tagname: str, item: None = None) -> tuple[str, ...]: ...
@@ -1178,18 +1311,18 @@ class LabeledScale(Frame):
1178
1311
  from_: float = 0,
1179
1312
  to: float = 10,
1180
1313
  *,
1181
- border: tkinter._ScreenUnits = ...,
1182
- borderwidth: tkinter._ScreenUnits = ...,
1314
+ border: float | str = ...,
1315
+ borderwidth: float | str = ...,
1183
1316
  class_: str = "",
1184
1317
  compound: Literal["top", "bottom"] = "top",
1185
1318
  cursor: tkinter._Cursor = "",
1186
- height: tkinter._ScreenUnits = 0,
1319
+ height: float | str = 0,
1187
1320
  name: str = ...,
1188
1321
  padding: _Padding = ...,
1189
- relief: tkinter._Relief = ...,
1322
+ relief: Literal["raised", "sunken", "flat", "ridge", "solid", "groove"] = ...,
1190
1323
  style: str = "",
1191
- takefocus: tkinter._TakeFocusValue = "",
1192
- width: tkinter._ScreenUnits = 0,
1324
+ takefocus: bool | Literal[0, 1, ""] | Callable[[str], bool | None] = "",
1325
+ width: float | str = 0,
1193
1326
  ) -> None: ...
1194
1327
  # destroy is overridden, signature does not change
1195
1328
  value: Any