basedpyright 1.12.4 → 1.12.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/pyright-langserver.js +1 -1
- package/dist/pyright-langserver.js.map +1 -1
- package/dist/pyright.js +1 -1
- package/dist/pyright.js.map +1 -1
- package/dist/typeshed-fallback/commit.txt +1 -1
- package/dist/typeshed-fallback/stdlib/_ast.pyi +3 -0
- package/dist/typeshed-fallback/stdlib/_json.pyi +1 -1
- package/dist/typeshed-fallback/stdlib/argparse.pyi +211 -53
- package/dist/typeshed-fallback/stdlib/asyncio/__init__.pyi +5 -5
- package/dist/typeshed-fallback/stdlib/asyncio/events.pyi +2 -2
- package/dist/typeshed-fallback/stdlib/base64.pyi +6 -0
- package/dist/typeshed-fallback/stdlib/builtins.pyi +22 -5
- package/dist/typeshed-fallback/stdlib/configparser.pyi +143 -52
- package/dist/typeshed-fallback/stdlib/dataclasses.pyi +3 -5
- package/dist/typeshed-fallback/stdlib/datetime.pyi +32 -0
- package/dist/typeshed-fallback/stdlib/enum.pyi +10 -2
- package/dist/typeshed-fallback/stdlib/glob.pyi +9 -1
- package/dist/typeshed-fallback/stdlib/importlib/metadata/__init__.pyi +4 -1
- package/dist/typeshed-fallback/stdlib/io.pyi +1 -1
- package/dist/typeshed-fallback/stdlib/ipaddress.pyi +5 -1
- package/dist/typeshed-fallback/stdlib/itertools.pyi +58 -0
- package/dist/typeshed-fallback/stdlib/json/encoder.pyi +2 -2
- package/dist/typeshed-fallback/stdlib/locale.pyi +6 -2
- package/dist/typeshed-fallback/stdlib/logging/__init__.pyi +1 -1
- package/dist/typeshed-fallback/stdlib/logging/handlers.pyi +1 -1
- package/dist/typeshed-fallback/stdlib/math.pyi +1 -1
- package/dist/typeshed-fallback/stdlib/mimetypes.pyi +9 -0
- package/dist/typeshed-fallback/stdlib/mmap.pyi +2 -0
- package/dist/typeshed-fallback/stdlib/multiprocessing/managers.pyi +4 -0
- package/dist/typeshed-fallback/stdlib/multiprocessing/shared_memory.pyi +5 -1
- package/dist/typeshed-fallback/stdlib/pathlib.pyi +44 -11
- package/dist/typeshed-fallback/stdlib/pdb.pyi +3 -1
- package/dist/typeshed-fallback/stdlib/platform.pyi +25 -0
- package/dist/typeshed-fallback/stdlib/pydoc.pyi +79 -30
- package/dist/typeshed-fallback/stdlib/shutil.pyi +9 -6
- package/dist/typeshed-fallback/stdlib/sqlite3/dbapi2.pyi +5 -1
- package/dist/typeshed-fallback/stdlib/tarfile.pyi +37 -16
- package/dist/typeshed-fallback/stdlib/time.pyi +4 -1
- package/dist/typeshed-fallback/stdlib/tokenize.pyi +1 -1
- package/dist/typeshed-fallback/stdlib/traceback.pyi +54 -18
- package/dist/typeshed-fallback/stdlib/types.pyi +4 -0
- package/dist/typeshed-fallback/stdlib/typing.pyi +14 -2
- package/dist/typeshed-fallback/stdlib/typing_extensions.pyi +5 -3
- package/dist/typeshed-fallback/stubs/Flask-Cors/flask_cors/extension.pyi +1 -1
- package/dist/typeshed-fallback/stubs/PyMySQL/pymysql/__init__.pyi +5 -0
- package/dist/typeshed-fallback/stubs/PyMySQL/pymysql/connections.pyi +2 -0
- package/dist/typeshed-fallback/stubs/PyMySQL/pymysql/converters.pyi +4 -3
- package/dist/typeshed-fallback/stubs/docker/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/docker/docker/api/client.pyi +1 -1
- package/dist/typeshed-fallback/stubs/docker/docker/api/container.pyi +17 -2
- package/dist/typeshed-fallback/stubs/docker/docker/client.pyi +16 -2
- package/dist/typeshed-fallback/stubs/docker/docker/models/containers.pyi +30 -4
- package/dist/typeshed-fallback/stubs/docker/docker/models/networks.pyi +1 -1
- package/dist/typeshed-fallback/stubs/greenlet/greenlet/__init__.pyi +4 -0
- package/dist/typeshed-fallback/stubs/hvac/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/hvac/hvac/api/auth_methods/aws.pyi +7 -1
- package/dist/typeshed-fallback/stubs/hvac/hvac/api/auth_methods/jwt.pyi +2 -1
- package/dist/typeshed-fallback/stubs/hvac/hvac/api/secrets_engines/__init__.pyi +2 -0
- package/dist/typeshed-fallback/stubs/hvac/hvac/api/secrets_engines/identity.pyi +0 -1
- package/dist/typeshed-fallback/stubs/hvac/hvac/api/secrets_engines/ldap.pyi +41 -0
- package/dist/typeshed-fallback/stubs/hvac/hvac/api/secrets_engines/transit.pyi +4 -2
- package/dist/typeshed-fallback/stubs/hvac/hvac/api/vault_api_base.pyi +4 -1
- package/dist/typeshed-fallback/stubs/hvac/hvac/constants/identity.pyi +2 -0
- package/dist/typeshed-fallback/stubs/hvac/hvac/exceptions.pyi +2 -0
- package/dist/typeshed-fallback/stubs/nanoid/METADATA.toml +2 -0
- package/dist/typeshed-fallback/stubs/nanoid/nanoid/__init__.pyi +4 -0
- package/dist/typeshed-fallback/stubs/nanoid/nanoid/algorithm.pyi +1 -0
- package/dist/typeshed-fallback/stubs/nanoid/nanoid/generate.pyi +3 -0
- package/dist/typeshed-fallback/stubs/nanoid/nanoid/method.pyi +6 -0
- package/dist/typeshed-fallback/stubs/nanoid/nanoid/non_secure_generate.pyi +3 -0
- package/dist/typeshed-fallback/stubs/nanoid/nanoid/resources.pyi +2 -0
- package/dist/typeshed-fallback/stubs/netaddr/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/netaddr/netaddr/ip/__init__.pyi +4 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/dag.pyi +12 -9
- package/dist/typeshed-fallback/stubs/openpyxl/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/pep8-naming/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/pep8-naming/pep8ext_naming.pyi +0 -1
- package/dist/typeshed-fallback/stubs/pynput/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/pynput/pynput/_util.pyi +1 -1
- package/dist/typeshed-fallback/stubs/pynput/pynput/keyboard/_base.pyi +64 -64
- package/dist/typeshed-fallback/stubs/pyserial/serial/serialutil.pyi +1 -1
- package/dist/typeshed-fallback/stubs/python-crontab/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/python-crontab/crontab.pyi +1 -0
- package/dist/typeshed-fallback/stubs/reportlab/METADATA.toml +6 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/__init__.pyi +11 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/__init__.pyi +3 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/barcode/__init__.pyi +5 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/barcode/code128.pyi +33 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/barcode/code39.pyi +32 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/barcode/code93.pyi +28 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/barcode/common.pyi +124 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/barcode/dmtx.pyi +68 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/barcode/eanbc.pyi +41 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/barcode/ecc200datamatrix.pyi +22 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/barcode/fourstate.pyi +0 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/barcode/lto.pyi +41 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/barcode/qr.pyi +52 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/barcode/qrencoder.pyi +202 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/barcode/usps.pyi +36 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/barcode/usps4s.pyi +85 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/barcode/widgets.pyi +65 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/charts/__init__.pyi +3 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/charts/areas.pyi +19 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/charts/axes.pyi +205 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/charts/barcharts.pyi +105 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/charts/dotbox.pyi +24 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/charts/doughnut.pyi +34 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/charts/legends.pyi +101 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/charts/linecharts.pyi +67 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/charts/lineplots.pyi +119 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/charts/markers.pyi +10 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/charts/piecharts.pyi +182 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/charts/slidebox.pyi +38 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/charts/spider.pyi +60 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/charts/textlabels.pyi +60 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/charts/utils.pyi +49 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/charts/utils3d.pyi +26 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/renderPDF.pyi +39 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/renderPM.pyi +127 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/renderPS.pyi +73 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/renderSVG.pyi +131 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/renderbase.pyi +40 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/samples/__init__.pyi +0 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/samples/bubble.pyi +5 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/samples/clustered_bar.pyi +5 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/samples/clustered_column.pyi +5 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/samples/excelcolors.pyi +33 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/samples/exploded_pie.pyi +8 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/samples/filled_radar.pyi +5 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/samples/line_chart.pyi +5 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/samples/linechart_with_markers.pyi +5 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/samples/radar.pyi +5 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/samples/runall.pyi +3 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/samples/scatter.pyi +5 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/samples/scatter_lines.pyi +5 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/samples/scatter_lines_markers.pyi +5 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/samples/simple_pie.pyi +8 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/samples/stacked_bar.pyi +5 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/samples/stacked_column.pyi +5 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/shapes.pyi +371 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/svgpath.pyi +8 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/transform.pyi +12 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/utils.pyi +22 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/widgetbase.pyi +112 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/widgets/__init__.pyi +3 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/widgets/adjustableArrow.pyi +11 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/widgets/eventcal.pyi +29 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/widgets/flags.pyi +32 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/widgets/grids.pyi +76 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/widgets/markers.pyi +21 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/widgets/signsandsymbols.pyi +164 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/widgets/table.pyi +32 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/PyFontify.pyi +21 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/__init__.pyi +4 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/abag.pyi +11 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/arciv.pyi +7 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/attrmap.pyi +40 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/boxstuff.pyi +6 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/codecharts.pyi +80 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/colors.pyi +318 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/corp.pyi +79 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/enums.pyi +7 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/extformat.pyi +6 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/fontfinder.pyi +59 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/fonts.pyi +10 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/formatters.pyi +24 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/geomutils.pyi +5 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/logger.pyi +24 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/normalDate.pyi +82 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/pagesizes.pyi +51 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/pdfencrypt.pyi +133 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/pygments2xpre.pyi +1 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/randomtext.pyi +19 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/rl_accel.pyi +11 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/rl_safe_eval.pyi +253 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/rltempfile.pyi +2 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/rparsexml.pyi +32 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/sequencer.pyi +31 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/styles.pyi +181 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/testutils.pyi +67 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/textsplit.pyi +19 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/units.pyi +9 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/utils.pyi +190 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/validators.pyi +171 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/yaml.pyi +26 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/pdfbase/__init__.pyi +3 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/pdfbase/acroform.pyi +214 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/pdfbase/cidfonts.pyi +51 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/pdfbase/pdfdoc.pyi +627 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/pdfbase/pdfform.pyi +81 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/pdfbase/pdfmetrics.pyi +93 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/pdfbase/pdfpattern.pyi +21 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/pdfbase/pdfutils.pyi +16 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/pdfbase/rl_codecs.pyi +24 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/pdfbase/ttfonts.pyi +150 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/pdfgen/__init__.pyi +3 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/pdfgen/canvas.pyi +306 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/pdfgen/pathobject.pyi +18 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/pdfgen/pdfgeom.pyi +5 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/pdfgen/pdfimages.pyi +38 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/pdfgen/textobject.pyi +52 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/platypus/__init__.pyi +12 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/platypus/doctemplate.pyi +267 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/platypus/figures.pyi +118 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/platypus/flowables.pyi +451 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/platypus/frames.pyi +37 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/platypus/multicol.pyi +17 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/platypus/para.pyi +271 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/platypus/paragraph.pyi +38 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/platypus/paraparser.pyi +117 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/platypus/tableofcontents.pyi +108 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/platypus/tables.pyi +124 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/platypus/xpreformatted.pyi +30 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/rl_config.pyi +71 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/rl_settings.pyi +72 -0
- package/dist/typeshed-fallback/stubs/requests/requests/__version__.pyi +12 -10
- package/dist/typeshed-fallback/stubs/requests/requests/adapters.pyi +38 -7
- package/dist/typeshed-fallback/stubs/requests/requests/models.pyi +21 -21
- package/dist/typeshed-fallback/stubs/requests/requests/utils.pyi +8 -6
- package/dist/typeshed-fallback/stubs/setuptools/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/setuptools/pkg_resources/__init__.pyi +25 -19
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/command/build.pyi +1 -2
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/command/editable_wheel.pyi +3 -0
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/compat/py311.pyi +3 -2
- package/dist/typeshed-fallback/stubs/shapely/METADATA.toml +4 -0
- package/dist/typeshed-fallback/stubs/shapely/shapely/__init__.pyi +34 -0
- package/dist/typeshed-fallback/stubs/shapely/shapely/_enum.pyi +5 -0
- package/dist/typeshed-fallback/stubs/shapely/shapely/_geometry.pyi +184 -0
- package/dist/typeshed-fallback/stubs/shapely/shapely/_ragged_array.pyi +12 -0
- package/dist/typeshed-fallback/stubs/shapely/shapely/_typing.pyi +58 -0
- package/dist/typeshed-fallback/stubs/shapely/shapely/_version.pyi +6 -0
- package/dist/typeshed-fallback/stubs/shapely/shapely/affinity.pyi +23 -0
- package/dist/typeshed-fallback/stubs/shapely/shapely/algorithms/__init__.pyi +0 -0
- package/dist/typeshed-fallback/stubs/shapely/shapely/algorithms/cga.pyi +6 -0
- package/dist/typeshed-fallback/stubs/shapely/shapely/algorithms/polylabel.pyi +19 -0
- package/dist/typeshed-fallback/stubs/shapely/shapely/constructive.pyi +430 -0
- package/dist/typeshed-fallback/stubs/shapely/shapely/coordinates.pyi +43 -0
- package/dist/typeshed-fallback/stubs/shapely/shapely/coords.pyi +18 -0
- package/dist/typeshed-fallback/stubs/shapely/shapely/creation.pyi +242 -0
- package/dist/typeshed-fallback/stubs/shapely/shapely/decorators.pyi +11 -0
- package/dist/typeshed-fallback/stubs/shapely/shapely/errors.pyi +17 -0
- package/dist/typeshed-fallback/stubs/shapely/shapely/geometry/__init__.pyi +25 -0
- package/dist/typeshed-fallback/stubs/shapely/shapely/geometry/base.pyi +285 -0
- package/dist/typeshed-fallback/stubs/shapely/shapely/geometry/collection.pyi +18 -0
- package/dist/typeshed-fallback/stubs/shapely/shapely/geometry/geo.pyi +9 -0
- package/dist/typeshed-fallback/stubs/shapely/shapely/geometry/linestring.pyi +45 -0
- package/dist/typeshed-fallback/stubs/shapely/shapely/geometry/multilinestring.pyi +15 -0
- package/dist/typeshed-fallback/stubs/shapely/shapely/geometry/multipoint.pyi +20 -0
- package/dist/typeshed-fallback/stubs/shapely/shapely/geometry/multipolygon.pyi +22 -0
- package/dist/typeshed-fallback/stubs/shapely/shapely/geometry/point.pyi +39 -0
- package/dist/typeshed-fallback/stubs/shapely/shapely/geometry/polygon.pyi +45 -0
- package/dist/typeshed-fallback/stubs/shapely/shapely/geos.pyi +3 -0
- package/dist/typeshed-fallback/stubs/shapely/shapely/io.pyi +140 -0
- package/dist/typeshed-fallback/stubs/shapely/shapely/lib.pyi +167 -0
- package/dist/typeshed-fallback/stubs/shapely/shapely/linear.pyi +69 -0
- package/dist/typeshed-fallback/stubs/shapely/shapely/measurement.pyi +68 -0
- package/dist/typeshed-fallback/stubs/shapely/shapely/ops.pyi +106 -0
- package/dist/typeshed-fallback/stubs/shapely/shapely/plotting.pyi +76 -0
- package/dist/typeshed-fallback/stubs/shapely/shapely/predicates.pyi +214 -0
- package/dist/typeshed-fallback/stubs/shapely/shapely/prepared.pyi +20 -0
- package/dist/typeshed-fallback/stubs/shapely/shapely/set_operations.pyi +86 -0
- package/dist/typeshed-fallback/stubs/shapely/shapely/speedups.pyi +12 -0
- package/dist/typeshed-fallback/stubs/shapely/shapely/strtree.pyi +82 -0
- package/dist/typeshed-fallback/stubs/shapely/shapely/testing.pyi +14 -0
- package/dist/typeshed-fallback/stubs/shapely/shapely/validation.pyi +7 -0
- package/dist/typeshed-fallback/stubs/shapely/shapely/vectorized/__init__.pyi +37 -0
- package/dist/typeshed-fallback/stubs/shapely/shapely/wkb.pyi +16 -0
- package/dist/typeshed-fallback/stubs/shapely/shapely/wkt.pyi +8 -0
- package/package.json +1 -1
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/dep_util.pyi +0 -1
- package/dist/typeshed-fallback/stubs/stripe/METADATA.toml +0 -7
- package/dist/typeshed-fallback/stubs/stripe/stripe/__init__.pyi +0 -25
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_requestor.pyi +0 -38
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/__init__.pyi +0 -82
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/abstract/__init__.pyi +0 -12
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/abstract/api_resource.pyi +0 -13
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/abstract/createable_api_resource.pyi +0 -16
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/abstract/custom_method.pyi +0 -3
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/abstract/deletable_api_resource.pyi +0 -7
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/abstract/listable_api_resource.pyi +0 -19
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/abstract/nested_resource_class_methods.pyi +0 -7
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/abstract/searchable_api_resource.pyi +0 -11
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/abstract/singleton_api_resource.pyi +0 -8
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/abstract/updateable_api_resource.pyi +0 -8
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/abstract/verify_mixin.pyi +0 -2
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/account.pyi +0 -75
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/account_link.pyi +0 -4
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/alipay_account.pyi +0 -23
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/apple_pay_domain.pyi +0 -10
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/application_fee.pyi +0 -8
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/application_fee_refund.pyi +0 -14
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/balance.pyi +0 -4
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/balance_transaction.pyi +0 -4
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/bank_account.pyi +0 -26
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/billing_portal/__init__.pyi +0 -2
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/billing_portal/configuration.pyi +0 -8
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/billing_portal/session.pyi +0 -4
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/bitcoin_receiver.pyi +0 -8
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/bitcoin_transaction.pyi +0 -4
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/capability.pyi +0 -13
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/card.pyi +0 -26
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/charge.pyi +0 -17
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/checkout/__init__.pyi +0 -1
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/checkout/session.pyi +0 -16
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/country_spec.pyi +0 -4
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/coupon.pyi +0 -9
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/credit_note.pyi +0 -21
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/credit_note_line_item.pyi +0 -4
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/customer.pyi +0 -58
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/customer_balance_transaction.pyi +0 -11
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/dispute.pyi +0 -9
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/ephemeral_key.pyi +0 -16
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/error_object.pyi +0 -25
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/event.pyi +0 -4
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/exchange_rate.pyi +0 -4
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/file.pyi +0 -21
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/file_link.pyi +0 -8
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/identity/__init__.pyi +0 -2
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/identity/verification_report.pyi +0 -4
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/identity/verification_session.pyi +0 -11
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/invoice.pyi +0 -28
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/invoice_item.pyi +0 -9
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/invoice_line_item.pyi +0 -4
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/issuer_fraud_record.pyi +0 -4
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/issuing/__init__.pyi +0 -6
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/issuing/authorization.pyi +0 -10
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/issuing/card.pyi +0 -10
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/issuing/card_details.pyi +0 -4
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/issuing/cardholder.pyi +0 -8
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/issuing/dispute.pyi +0 -10
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/issuing/transaction.pyi +0 -7
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/line_item.pyi +0 -4
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/list_object.pyi +0 -57
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/login_link.pyi +0 -4
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/mandate.pyi +0 -4
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/order.pyi +0 -13
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/payment_intent.pyi +0 -22
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/payment_link.pyi +0 -24
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/payment_method.pyi +0 -13
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/payout.pyi +0 -11
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/person.pyi +0 -13
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/plan.pyi +0 -9
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/price.pyi +0 -9
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/product.pyi +0 -10
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/promotion_code.pyi +0 -8
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/quote.pyi +0 -24
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/radar/__init__.pyi +0 -3
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/radar/early_fraud_warning.pyi +0 -4
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/radar/value_list.pyi +0 -9
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/radar/value_list_item.pyi +0 -8
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/recipient.pyi +0 -9
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/recipient_transfer.pyi +0 -4
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/refund.pyi +0 -8
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/reporting/__init__.pyi +0 -2
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/reporting/report_run.pyi +0 -7
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/reporting/report_type.pyi +0 -4
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/reversal.pyi +0 -13
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/review.pyi +0 -5
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/search_result_object.pyi +0 -32
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/setup_attempt.pyi +0 -4
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/setup_intent.pyi +0 -11
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/shipping_rate.pyi +0 -9
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/sigma/__init__.pyi +0 -1
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/sigma/scheduled_query_run.pyi +0 -6
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/sku.pyi +0 -9
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/source.pyi +0 -13
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/source_transaction.pyi +0 -4
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/subscription.pyi +0 -15
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/subscription_item.pyi +0 -27
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/subscription_schedule.pyi +0 -11
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/tax_code.pyi +0 -4
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/tax_id.pyi +0 -11
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/tax_rate.pyi +0 -8
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/terminal/__init__.pyi +0 -3
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/terminal/connection_token.pyi +0 -4
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/terminal/location.pyi +0 -9
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/terminal/reader.pyi +0 -9
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/test_helpers/__init__.pyi +0 -1
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/test_helpers/test_clock.pyi +0 -10
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/three_d_secure.pyi +0 -6
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/token.pyi +0 -4
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/topup.pyi +0 -10
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/transfer.pyi +0 -11
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/usage_record.pyi +0 -16
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/usage_record_summary.pyi +0 -4
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/webhook_endpoint.pyi +0 -9
- package/dist/typeshed-fallback/stubs/stripe/stripe/error.pyi +0 -76
- package/dist/typeshed-fallback/stubs/stripe/stripe/http_client.pyi +0 -52
- package/dist/typeshed-fallback/stubs/stripe/stripe/multipart_data_generator.pyi +0 -11
- package/dist/typeshed-fallback/stubs/stripe/stripe/oauth.pyi +0 -11
- package/dist/typeshed-fallback/stubs/stripe/stripe/oauth_error.pyi +0 -22
- package/dist/typeshed-fallback/stubs/stripe/stripe/object_classes.pyi +0 -5
- package/dist/typeshed-fallback/stubs/stripe/stripe/request_metrics.pyi +0 -7
- package/dist/typeshed-fallback/stubs/stripe/stripe/stripe_object.pyi +0 -62
- package/dist/typeshed-fallback/stubs/stripe/stripe/stripe_response.pyi +0 -19
- package/dist/typeshed-fallback/stubs/stripe/stripe/util.pyi +0 -42
- package/dist/typeshed-fallback/stubs/stripe/stripe/version.pyi +0 -1
- package/dist/typeshed-fallback/stubs/stripe/stripe/webhook.pyi +0 -17
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
6ddf4647a7855061c3972f19b39b6ae269f3adb7
|
|
@@ -7,6 +7,9 @@ PyCF_ONLY_AST: Literal[1024]
|
|
|
7
7
|
PyCF_TYPE_COMMENTS: Literal[4096]
|
|
8
8
|
PyCF_ALLOW_TOP_LEVEL_AWAIT: Literal[8192]
|
|
9
9
|
|
|
10
|
+
if sys.version_info >= (3, 13):
|
|
11
|
+
PyCF_OPTIMIZED_AST: Literal[33792]
|
|
12
|
+
|
|
10
13
|
# Used for node end positions in constructor keyword arguments
|
|
11
14
|
_EndPositionT = typing_extensions.TypeVar("_EndPositionT", int, int | None, default=int | None) # noqa: Y023
|
|
12
15
|
|
|
@@ -45,5 +45,5 @@ class make_scanner:
|
|
|
45
45
|
def __init__(self, context: make_scanner) -> None: ...
|
|
46
46
|
def __call__(self, string: str, index: int) -> tuple[Any, int]: ...
|
|
47
47
|
|
|
48
|
-
def encode_basestring_ascii(s: str) -> str: ...
|
|
48
|
+
def encode_basestring_ascii(s: str, /) -> str: ...
|
|
49
49
|
def scanstring(string: str, end: int, strict: bool = ...) -> tuple[str, int]: ...
|
|
@@ -318,51 +318,95 @@ class Action(_AttributeHolder):
|
|
|
318
318
|
required: bool
|
|
319
319
|
help: str | None
|
|
320
320
|
metavar: str | tuple[str, ...] | None
|
|
321
|
-
|
|
322
|
-
self,
|
|
323
|
-
option_strings: Sequence[str],
|
|
324
|
-
dest: str,
|
|
325
|
-
nargs: int | str | None = None,
|
|
326
|
-
const: _T | None = None,
|
|
327
|
-
default: _T | str | None = None,
|
|
328
|
-
type: Callable[[str], _T] | FileType | None = None,
|
|
329
|
-
choices: Iterable[_T] | None = None,
|
|
330
|
-
required: bool = False,
|
|
331
|
-
help: str | None = None,
|
|
332
|
-
metavar: str | tuple[str, ...] | None = None,
|
|
333
|
-
) -> None: ...
|
|
334
|
-
def __call__(
|
|
335
|
-
self, parser: ArgumentParser, namespace: Namespace, values: str | Sequence[Any] | None, option_string: str | None = None
|
|
336
|
-
) -> None: ...
|
|
337
|
-
if sys.version_info >= (3, 9):
|
|
338
|
-
def format_usage(self) -> str: ...
|
|
339
|
-
|
|
340
|
-
if sys.version_info >= (3, 12):
|
|
341
|
-
class BooleanOptionalAction(Action):
|
|
342
|
-
@overload
|
|
321
|
+
if sys.version_info >= (3, 13):
|
|
343
322
|
def __init__(
|
|
344
323
|
self,
|
|
345
324
|
option_strings: Sequence[str],
|
|
346
325
|
dest: str,
|
|
347
|
-
|
|
348
|
-
|
|
326
|
+
nargs: int | str | None = None,
|
|
327
|
+
const: _T | None = None,
|
|
328
|
+
default: _T | str | None = None,
|
|
329
|
+
type: Callable[[str], _T] | FileType | None = None,
|
|
330
|
+
choices: Iterable[_T] | None = None,
|
|
349
331
|
required: bool = False,
|
|
350
332
|
help: str | None = None,
|
|
333
|
+
metavar: str | tuple[str, ...] | None = None,
|
|
334
|
+
deprecated: bool = False,
|
|
351
335
|
) -> None: ...
|
|
352
|
-
|
|
353
|
-
@deprecated("The `type`, `choices`, and `metavar` parameters are ignored and will be removed in Python 3.14.")
|
|
336
|
+
else:
|
|
354
337
|
def __init__(
|
|
355
338
|
self,
|
|
356
339
|
option_strings: Sequence[str],
|
|
357
340
|
dest: str,
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
341
|
+
nargs: int | str | None = None,
|
|
342
|
+
const: _T | None = None,
|
|
343
|
+
default: _T | str | None = None,
|
|
344
|
+
type: Callable[[str], _T] | FileType | None = None,
|
|
345
|
+
choices: Iterable[_T] | None = None,
|
|
361
346
|
required: bool = False,
|
|
362
347
|
help: str | None = None,
|
|
363
|
-
metavar: str | tuple[str, ...] | None =
|
|
348
|
+
metavar: str | tuple[str, ...] | None = None,
|
|
364
349
|
) -> None: ...
|
|
365
350
|
|
|
351
|
+
def __call__(
|
|
352
|
+
self, parser: ArgumentParser, namespace: Namespace, values: str | Sequence[Any] | None, option_string: str | None = None
|
|
353
|
+
) -> None: ...
|
|
354
|
+
if sys.version_info >= (3, 9):
|
|
355
|
+
def format_usage(self) -> str: ...
|
|
356
|
+
|
|
357
|
+
if sys.version_info >= (3, 12):
|
|
358
|
+
class BooleanOptionalAction(Action):
|
|
359
|
+
if sys.version_info >= (3, 13):
|
|
360
|
+
@overload
|
|
361
|
+
def __init__(
|
|
362
|
+
self,
|
|
363
|
+
option_strings: Sequence[str],
|
|
364
|
+
dest: str,
|
|
365
|
+
default: bool | None = None,
|
|
366
|
+
*,
|
|
367
|
+
required: bool = False,
|
|
368
|
+
help: str | None = None,
|
|
369
|
+
deprecated: bool = False,
|
|
370
|
+
) -> None: ...
|
|
371
|
+
@overload
|
|
372
|
+
@deprecated("The `type`, `choices`, and `metavar` parameters are ignored and will be removed in Python 3.14.")
|
|
373
|
+
def __init__(
|
|
374
|
+
self,
|
|
375
|
+
option_strings: Sequence[str],
|
|
376
|
+
dest: str,
|
|
377
|
+
default: _T | bool | None = None,
|
|
378
|
+
type: Callable[[str], _T] | FileType | None = sentinel,
|
|
379
|
+
choices: Iterable[_T] | None = sentinel,
|
|
380
|
+
required: bool = False,
|
|
381
|
+
help: str | None = None,
|
|
382
|
+
metavar: str | tuple[str, ...] | None = sentinel,
|
|
383
|
+
deprecated: bool = False,
|
|
384
|
+
) -> None: ...
|
|
385
|
+
else:
|
|
386
|
+
@overload
|
|
387
|
+
def __init__(
|
|
388
|
+
self,
|
|
389
|
+
option_strings: Sequence[str],
|
|
390
|
+
dest: str,
|
|
391
|
+
default: bool | None = None,
|
|
392
|
+
*,
|
|
393
|
+
required: bool = False,
|
|
394
|
+
help: str | None = None,
|
|
395
|
+
) -> None: ...
|
|
396
|
+
@overload
|
|
397
|
+
@deprecated("The `type`, `choices`, and `metavar` parameters are ignored and will be removed in Python 3.14.")
|
|
398
|
+
def __init__(
|
|
399
|
+
self,
|
|
400
|
+
option_strings: Sequence[str],
|
|
401
|
+
dest: str,
|
|
402
|
+
default: _T | bool | None = None,
|
|
403
|
+
type: Callable[[str], _T] | FileType | None = sentinel,
|
|
404
|
+
choices: Iterable[_T] | None = sentinel,
|
|
405
|
+
required: bool = False,
|
|
406
|
+
help: str | None = None,
|
|
407
|
+
metavar: str | tuple[str, ...] | None = sentinel,
|
|
408
|
+
) -> None: ...
|
|
409
|
+
|
|
366
410
|
elif sys.version_info >= (3, 9):
|
|
367
411
|
class BooleanOptionalAction(Action):
|
|
368
412
|
@overload
|
|
@@ -431,7 +475,19 @@ class _StoreAction(Action): ...
|
|
|
431
475
|
|
|
432
476
|
# undocumented
|
|
433
477
|
class _StoreConstAction(Action):
|
|
434
|
-
if sys.version_info >= (3,
|
|
478
|
+
if sys.version_info >= (3, 13):
|
|
479
|
+
def __init__(
|
|
480
|
+
self,
|
|
481
|
+
option_strings: Sequence[str],
|
|
482
|
+
dest: str,
|
|
483
|
+
const: Any | None = None,
|
|
484
|
+
default: Any = None,
|
|
485
|
+
required: bool = False,
|
|
486
|
+
help: str | None = None,
|
|
487
|
+
metavar: str | tuple[str, ...] | None = None,
|
|
488
|
+
deprecated: bool = False,
|
|
489
|
+
) -> None: ...
|
|
490
|
+
elif sys.version_info >= (3, 11):
|
|
435
491
|
def __init__(
|
|
436
492
|
self,
|
|
437
493
|
option_strings: Sequence[str],
|
|
@@ -456,15 +512,37 @@ class _StoreConstAction(Action):
|
|
|
456
512
|
|
|
457
513
|
# undocumented
|
|
458
514
|
class _StoreTrueAction(_StoreConstAction):
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
515
|
+
if sys.version_info >= (3, 13):
|
|
516
|
+
def __init__(
|
|
517
|
+
self,
|
|
518
|
+
option_strings: Sequence[str],
|
|
519
|
+
dest: str,
|
|
520
|
+
default: bool = False,
|
|
521
|
+
required: bool = False,
|
|
522
|
+
help: str | None = None,
|
|
523
|
+
deprecated: bool = False,
|
|
524
|
+
) -> None: ...
|
|
525
|
+
else:
|
|
526
|
+
def __init__(
|
|
527
|
+
self, option_strings: Sequence[str], dest: str, default: bool = False, required: bool = False, help: str | None = None
|
|
528
|
+
) -> None: ...
|
|
462
529
|
|
|
463
530
|
# undocumented
|
|
464
531
|
class _StoreFalseAction(_StoreConstAction):
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
532
|
+
if sys.version_info >= (3, 13):
|
|
533
|
+
def __init__(
|
|
534
|
+
self,
|
|
535
|
+
option_strings: Sequence[str],
|
|
536
|
+
dest: str,
|
|
537
|
+
default: bool = True,
|
|
538
|
+
required: bool = False,
|
|
539
|
+
help: str | None = None,
|
|
540
|
+
deprecated: bool = False,
|
|
541
|
+
) -> None: ...
|
|
542
|
+
else:
|
|
543
|
+
def __init__(
|
|
544
|
+
self, option_strings: Sequence[str], dest: str, default: bool = True, required: bool = False, help: str | None = None
|
|
545
|
+
) -> None: ...
|
|
468
546
|
|
|
469
547
|
# undocumented
|
|
470
548
|
class _AppendAction(Action): ...
|
|
@@ -474,7 +552,19 @@ class _ExtendAction(_AppendAction): ...
|
|
|
474
552
|
|
|
475
553
|
# undocumented
|
|
476
554
|
class _AppendConstAction(Action):
|
|
477
|
-
if sys.version_info >= (3,
|
|
555
|
+
if sys.version_info >= (3, 13):
|
|
556
|
+
def __init__(
|
|
557
|
+
self,
|
|
558
|
+
option_strings: Sequence[str],
|
|
559
|
+
dest: str,
|
|
560
|
+
const: Any | None = None,
|
|
561
|
+
default: Any = None,
|
|
562
|
+
required: bool = False,
|
|
563
|
+
help: str | None = None,
|
|
564
|
+
metavar: str | tuple[str, ...] | None = None,
|
|
565
|
+
deprecated: bool = False,
|
|
566
|
+
) -> None: ...
|
|
567
|
+
elif sys.version_info >= (3, 11):
|
|
478
568
|
def __init__(
|
|
479
569
|
self,
|
|
480
570
|
option_strings: Sequence[str],
|
|
@@ -499,27 +589,72 @@ class _AppendConstAction(Action):
|
|
|
499
589
|
|
|
500
590
|
# undocumented
|
|
501
591
|
class _CountAction(Action):
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
592
|
+
if sys.version_info >= (3, 13):
|
|
593
|
+
def __init__(
|
|
594
|
+
self,
|
|
595
|
+
option_strings: Sequence[str],
|
|
596
|
+
dest: str,
|
|
597
|
+
default: Any = None,
|
|
598
|
+
required: bool = False,
|
|
599
|
+
help: str | None = None,
|
|
600
|
+
deprecated: bool = False,
|
|
601
|
+
) -> None: ...
|
|
602
|
+
else:
|
|
603
|
+
def __init__(
|
|
604
|
+
self, option_strings: Sequence[str], dest: str, default: Any = None, required: bool = False, help: str | None = None
|
|
605
|
+
) -> None: ...
|
|
505
606
|
|
|
506
607
|
# undocumented
|
|
507
608
|
class _HelpAction(Action):
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
609
|
+
if sys.version_info >= (3, 13):
|
|
610
|
+
def __init__(
|
|
611
|
+
self,
|
|
612
|
+
option_strings: Sequence[str],
|
|
613
|
+
dest: str = "==SUPPRESS==",
|
|
614
|
+
default: str = "==SUPPRESS==",
|
|
615
|
+
help: str | None = None,
|
|
616
|
+
deprecated: bool = False,
|
|
617
|
+
) -> None: ...
|
|
618
|
+
else:
|
|
619
|
+
def __init__(
|
|
620
|
+
self,
|
|
621
|
+
option_strings: Sequence[str],
|
|
622
|
+
dest: str = "==SUPPRESS==",
|
|
623
|
+
default: str = "==SUPPRESS==",
|
|
624
|
+
help: str | None = None,
|
|
625
|
+
) -> None: ...
|
|
511
626
|
|
|
512
627
|
# undocumented
|
|
513
628
|
class _VersionAction(Action):
|
|
514
629
|
version: str | None
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
630
|
+
if sys.version_info >= (3, 13):
|
|
631
|
+
def __init__(
|
|
632
|
+
self,
|
|
633
|
+
option_strings: Sequence[str],
|
|
634
|
+
version: str | None = None,
|
|
635
|
+
dest: str = "==SUPPRESS==",
|
|
636
|
+
default: str = "==SUPPRESS==",
|
|
637
|
+
help: str | None = None,
|
|
638
|
+
deprecated: bool = False,
|
|
639
|
+
) -> None: ...
|
|
640
|
+
elif sys.version_info >= (3, 11):
|
|
641
|
+
def __init__(
|
|
642
|
+
self,
|
|
643
|
+
option_strings: Sequence[str],
|
|
644
|
+
version: str | None = None,
|
|
645
|
+
dest: str = "==SUPPRESS==",
|
|
646
|
+
default: str = "==SUPPRESS==",
|
|
647
|
+
help: str | None = None,
|
|
648
|
+
) -> None: ...
|
|
649
|
+
else:
|
|
650
|
+
def __init__(
|
|
651
|
+
self,
|
|
652
|
+
option_strings: Sequence[str],
|
|
653
|
+
version: str | None = None,
|
|
654
|
+
dest: str = "==SUPPRESS==",
|
|
655
|
+
default: str = "==SUPPRESS==",
|
|
656
|
+
help: str = "show program's version number and exit",
|
|
657
|
+
) -> None: ...
|
|
523
658
|
|
|
524
659
|
# undocumented
|
|
525
660
|
class _SubParsersAction(Action, Generic[_ArgumentParserT]):
|
|
@@ -542,7 +677,30 @@ class _SubParsersAction(Action, Generic[_ArgumentParserT]):
|
|
|
542
677
|
|
|
543
678
|
# Note: `add_parser` accepts all kwargs of `ArgumentParser.__init__`. It also
|
|
544
679
|
# accepts its own `help` and `aliases` kwargs.
|
|
545
|
-
if sys.version_info >= (3,
|
|
680
|
+
if sys.version_info >= (3, 13):
|
|
681
|
+
def add_parser(
|
|
682
|
+
self,
|
|
683
|
+
name: str,
|
|
684
|
+
*,
|
|
685
|
+
deprecated: bool = False,
|
|
686
|
+
help: str | None = ...,
|
|
687
|
+
aliases: Sequence[str] = ...,
|
|
688
|
+
# Kwargs from ArgumentParser constructor
|
|
689
|
+
prog: str | None = ...,
|
|
690
|
+
usage: str | None = ...,
|
|
691
|
+
description: str | None = ...,
|
|
692
|
+
epilog: str | None = ...,
|
|
693
|
+
parents: Sequence[_ArgumentParserT] = ...,
|
|
694
|
+
formatter_class: _FormatterClass = ...,
|
|
695
|
+
prefix_chars: str = ...,
|
|
696
|
+
fromfile_prefix_chars: str | None = ...,
|
|
697
|
+
argument_default: Any = ...,
|
|
698
|
+
conflict_handler: str = ...,
|
|
699
|
+
add_help: bool = ...,
|
|
700
|
+
allow_abbrev: bool = ...,
|
|
701
|
+
exit_on_error: bool = ...,
|
|
702
|
+
) -> _ArgumentParserT: ...
|
|
703
|
+
elif sys.version_info >= (3, 9):
|
|
546
704
|
def add_parser(
|
|
547
705
|
self,
|
|
548
706
|
name: str,
|
|
@@ -30,12 +30,12 @@ if sys.platform == "win32":
|
|
|
30
30
|
else:
|
|
31
31
|
from .unix_events import *
|
|
32
32
|
|
|
33
|
-
|
|
33
|
+
_T_co = TypeVar("_T_co", covariant=True)
|
|
34
34
|
|
|
35
35
|
# Aliases imported by multiple submodules in typeshed
|
|
36
36
|
if sys.version_info >= (3, 12):
|
|
37
|
-
_AwaitableLike: TypeAlias = Awaitable[
|
|
38
|
-
_CoroutineLike: TypeAlias = Coroutine[Any, Any,
|
|
37
|
+
_AwaitableLike: TypeAlias = Awaitable[_T_co] # noqa: Y047
|
|
38
|
+
_CoroutineLike: TypeAlias = Coroutine[Any, Any, _T_co] # noqa: Y047
|
|
39
39
|
else:
|
|
40
|
-
_AwaitableLike: TypeAlias = Generator[Any, None,
|
|
41
|
-
_CoroutineLike: TypeAlias = Generator[Any, None,
|
|
40
|
+
_AwaitableLike: TypeAlias = Generator[Any, None, _T_co] | Awaitable[_T_co]
|
|
41
|
+
_CoroutineLike: TypeAlias = Generator[Any, None, _T_co] | Coroutine[Any, Any, _T_co]
|
|
@@ -2,7 +2,7 @@ import ssl
|
|
|
2
2
|
import sys
|
|
3
3
|
from _typeshed import FileDescriptorLike, ReadableBuffer, StrPath, Unused, WriteableBuffer
|
|
4
4
|
from abc import ABCMeta, abstractmethod
|
|
5
|
-
from collections.abc import Callable,
|
|
5
|
+
from collections.abc import Callable, Sequence
|
|
6
6
|
from contextvars import Context
|
|
7
7
|
from socket import AddressFamily, SocketKind, _Address, _RetAddress, socket
|
|
8
8
|
from typing import IO, Any, Literal, Protocol, TypeVar, overload
|
|
@@ -43,7 +43,7 @@ _ProtocolFactory: TypeAlias = Callable[[], BaseProtocol]
|
|
|
43
43
|
_SSLContext: TypeAlias = bool | None | ssl.SSLContext
|
|
44
44
|
|
|
45
45
|
class _TaskFactory(Protocol):
|
|
46
|
-
def __call__(self, loop: AbstractEventLoop, factory:
|
|
46
|
+
def __call__(self, loop: AbstractEventLoop, factory: _CoroutineLike[_T], /) -> Future[_T]: ...
|
|
47
47
|
|
|
48
48
|
class Handle:
|
|
49
49
|
_cancelled: bool
|
|
@@ -25,6 +25,8 @@ __all__ = [
|
|
|
25
25
|
|
|
26
26
|
if sys.version_info >= (3, 10):
|
|
27
27
|
__all__ += ["b32hexencode", "b32hexdecode"]
|
|
28
|
+
if sys.version_info >= (3, 13):
|
|
29
|
+
__all__ += ["z85decode", "z85encode"]
|
|
28
30
|
|
|
29
31
|
def b64encode(s: ReadableBuffer, altchars: ReadableBuffer | None = None) -> bytes: ...
|
|
30
32
|
def b64decode(s: str | ReadableBuffer, altchars: str | ReadableBuffer | None = None, validate: bool = False) -> bytes: ...
|
|
@@ -57,3 +59,7 @@ def decodebytes(s: ReadableBuffer) -> bytes: ...
|
|
|
57
59
|
if sys.version_info < (3, 9):
|
|
58
60
|
def encodestring(s: ReadableBuffer) -> bytes: ...
|
|
59
61
|
def decodestring(s: ReadableBuffer) -> bytes: ...
|
|
62
|
+
|
|
63
|
+
if sys.version_info >= (3, 13):
|
|
64
|
+
def z85encode(s: ReadableBuffer) -> bytes: ...
|
|
65
|
+
def z85decode(s: str | ReadableBuffer) -> bytes: ...
|
|
@@ -461,7 +461,7 @@ class str(Sequence[str]):
|
|
|
461
461
|
def format(self: LiteralString, *args: LiteralString, **kwargs: LiteralString) -> LiteralString: ...
|
|
462
462
|
@overload
|
|
463
463
|
def format(self, *args: object, **kwargs: object) -> str: ...
|
|
464
|
-
def format_map(self,
|
|
464
|
+
def format_map(self, mapping: _FormatMapMapping, /) -> str: ...
|
|
465
465
|
def index(self, sub: str, start: SupportsIndex | None = ..., end: SupportsIndex | None = ..., /) -> int: ...
|
|
466
466
|
def isalnum(self) -> bool: ...
|
|
467
467
|
def isalpha(self) -> bool: ...
|
|
@@ -495,10 +495,20 @@ class str(Sequence[str]):
|
|
|
495
495
|
def partition(self: LiteralString, sep: LiteralString, /) -> tuple[LiteralString, LiteralString, LiteralString]: ...
|
|
496
496
|
@overload
|
|
497
497
|
def partition(self, sep: str, /) -> tuple[str, str, str]: ... # type: ignore[misc]
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
498
|
+
if sys.version_info >= (3, 13):
|
|
499
|
+
@overload
|
|
500
|
+
def replace(
|
|
501
|
+
self: LiteralString, old: LiteralString, new: LiteralString, /, count: SupportsIndex = -1
|
|
502
|
+
) -> LiteralString: ...
|
|
503
|
+
@overload
|
|
504
|
+
def replace(self, old: str, new: str, /, count: SupportsIndex = -1) -> str: ... # type: ignore[misc]
|
|
505
|
+
else:
|
|
506
|
+
@overload
|
|
507
|
+
def replace(
|
|
508
|
+
self: LiteralString, old: LiteralString, new: LiteralString, count: SupportsIndex = -1, /
|
|
509
|
+
) -> LiteralString: ...
|
|
510
|
+
@overload
|
|
511
|
+
def replace(self, old: str, new: str, count: SupportsIndex = -1, /) -> str: ... # type: ignore[misc]
|
|
502
512
|
if sys.version_info >= (3, 9):
|
|
503
513
|
@overload
|
|
504
514
|
def removeprefix(self: LiteralString, prefix: LiteralString, /) -> LiteralString: ...
|
|
@@ -1214,6 +1224,9 @@ class property:
|
|
|
1214
1224
|
fset: Callable[[Any, Any], None] | None
|
|
1215
1225
|
fdel: Callable[[Any], None] | None
|
|
1216
1226
|
__isabstractmethod__: bool
|
|
1227
|
+
if sys.version_info >= (3, 13):
|
|
1228
|
+
__name__: str
|
|
1229
|
+
|
|
1217
1230
|
def __init__(
|
|
1218
1231
|
self,
|
|
1219
1232
|
fget: Callable[[Any], Any] | None = ...,
|
|
@@ -2057,3 +2070,7 @@ if sys.version_info >= (3, 11):
|
|
|
2057
2070
|
def split(
|
|
2058
2071
|
self, condition: Callable[[_ExceptionT_co | Self], bool], /
|
|
2059
2072
|
) -> tuple[ExceptionGroup[_ExceptionT_co] | None, ExceptionGroup[_ExceptionT_co] | None]: ...
|
|
2073
|
+
|
|
2074
|
+
if sys.version_info >= (3, 13):
|
|
2075
|
+
class IncompleteInputError(SyntaxError): ...
|
|
2076
|
+
class PythonFinalizationError(RuntimeError): ...
|