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
|
@@ -5,7 +5,31 @@ from re import Pattern
|
|
|
5
5
|
from typing import Any, ClassVar, Literal, TypeVar, overload
|
|
6
6
|
from typing_extensions import TypeAlias
|
|
7
7
|
|
|
8
|
-
if sys.version_info >= (3,
|
|
8
|
+
if sys.version_info >= (3, 13):
|
|
9
|
+
__all__ = (
|
|
10
|
+
"NoSectionError",
|
|
11
|
+
"DuplicateOptionError",
|
|
12
|
+
"DuplicateSectionError",
|
|
13
|
+
"NoOptionError",
|
|
14
|
+
"InterpolationError",
|
|
15
|
+
"InterpolationDepthError",
|
|
16
|
+
"InterpolationMissingOptionError",
|
|
17
|
+
"InterpolationSyntaxError",
|
|
18
|
+
"ParsingError",
|
|
19
|
+
"MissingSectionHeaderError",
|
|
20
|
+
"ConfigParser",
|
|
21
|
+
"RawConfigParser",
|
|
22
|
+
"Interpolation",
|
|
23
|
+
"BasicInterpolation",
|
|
24
|
+
"ExtendedInterpolation",
|
|
25
|
+
"SectionProxy",
|
|
26
|
+
"ConverterMapping",
|
|
27
|
+
"DEFAULTSECT",
|
|
28
|
+
"MAX_INTERPOLATION_DEPTH",
|
|
29
|
+
"UNNAMED_SECTION",
|
|
30
|
+
"MultilineContinuationError",
|
|
31
|
+
)
|
|
32
|
+
elif sys.version_info >= (3, 12):
|
|
9
33
|
__all__ = (
|
|
10
34
|
"NoSectionError",
|
|
11
35
|
"DuplicateOptionError",
|
|
@@ -71,8 +95,9 @@ class Interpolation:
|
|
|
71
95
|
class BasicInterpolation(Interpolation): ...
|
|
72
96
|
class ExtendedInterpolation(Interpolation): ...
|
|
73
97
|
|
|
74
|
-
|
|
75
|
-
|
|
98
|
+
if sys.version_info < (3, 13):
|
|
99
|
+
class LegacyInterpolation(Interpolation):
|
|
100
|
+
def before_get(self, parser: _Parser, section: str, option: str, value: str, vars: _Section) -> str: ...
|
|
76
101
|
|
|
77
102
|
class RawConfigParser(_Parser):
|
|
78
103
|
_SECT_TMPL: ClassVar[str] # undocumented
|
|
@@ -86,54 +111,108 @@ class RawConfigParser(_Parser):
|
|
|
86
111
|
|
|
87
112
|
BOOLEAN_STATES: ClassVar[Mapping[str, bool]] # undocumented
|
|
88
113
|
default_section: str
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
114
|
+
if sys.version_info >= (3, 13):
|
|
115
|
+
@overload
|
|
116
|
+
def __init__(
|
|
117
|
+
self,
|
|
118
|
+
defaults: Mapping[str, str | None] | None = None,
|
|
119
|
+
dict_type: type[Mapping[str, str]] = ...,
|
|
120
|
+
*,
|
|
121
|
+
allow_no_value: Literal[True],
|
|
122
|
+
delimiters: Sequence[str] = ("=", ":"),
|
|
123
|
+
comment_prefixes: Sequence[str] = ("#", ";"),
|
|
124
|
+
inline_comment_prefixes: Sequence[str] | None = None,
|
|
125
|
+
strict: bool = True,
|
|
126
|
+
empty_lines_in_values: bool = True,
|
|
127
|
+
default_section: str = "DEFAULT",
|
|
128
|
+
interpolation: Interpolation | None = ...,
|
|
129
|
+
converters: _ConvertersMap = ...,
|
|
130
|
+
allow_unnamed_section: bool = False,
|
|
131
|
+
) -> None: ...
|
|
132
|
+
@overload
|
|
133
|
+
def __init__(
|
|
134
|
+
self,
|
|
135
|
+
defaults: Mapping[str, str | None] | None,
|
|
136
|
+
dict_type: type[Mapping[str, str]],
|
|
137
|
+
allow_no_value: Literal[True],
|
|
138
|
+
*,
|
|
139
|
+
delimiters: Sequence[str] = ("=", ":"),
|
|
140
|
+
comment_prefixes: Sequence[str] = ("#", ";"),
|
|
141
|
+
inline_comment_prefixes: Sequence[str] | None = None,
|
|
142
|
+
strict: bool = True,
|
|
143
|
+
empty_lines_in_values: bool = True,
|
|
144
|
+
default_section: str = "DEFAULT",
|
|
145
|
+
interpolation: Interpolation | None = ...,
|
|
146
|
+
converters: _ConvertersMap = ...,
|
|
147
|
+
allow_unnamed_section: bool = False,
|
|
148
|
+
) -> None: ...
|
|
149
|
+
@overload
|
|
150
|
+
def __init__(
|
|
151
|
+
self,
|
|
152
|
+
defaults: _Section | None = None,
|
|
153
|
+
dict_type: type[Mapping[str, str]] = ...,
|
|
154
|
+
allow_no_value: bool = False,
|
|
155
|
+
*,
|
|
156
|
+
delimiters: Sequence[str] = ("=", ":"),
|
|
157
|
+
comment_prefixes: Sequence[str] = ("#", ";"),
|
|
158
|
+
inline_comment_prefixes: Sequence[str] | None = None,
|
|
159
|
+
strict: bool = True,
|
|
160
|
+
empty_lines_in_values: bool = True,
|
|
161
|
+
default_section: str = "DEFAULT",
|
|
162
|
+
interpolation: Interpolation | None = ...,
|
|
163
|
+
converters: _ConvertersMap = ...,
|
|
164
|
+
allow_unnamed_section: bool = False,
|
|
165
|
+
) -> None: ...
|
|
166
|
+
else:
|
|
167
|
+
@overload
|
|
168
|
+
def __init__(
|
|
169
|
+
self,
|
|
170
|
+
defaults: Mapping[str, str | None] | None = None,
|
|
171
|
+
dict_type: type[Mapping[str, str]] = ...,
|
|
172
|
+
*,
|
|
173
|
+
allow_no_value: Literal[True],
|
|
174
|
+
delimiters: Sequence[str] = ("=", ":"),
|
|
175
|
+
comment_prefixes: Sequence[str] = ("#", ";"),
|
|
176
|
+
inline_comment_prefixes: Sequence[str] | None = None,
|
|
177
|
+
strict: bool = True,
|
|
178
|
+
empty_lines_in_values: bool = True,
|
|
179
|
+
default_section: str = "DEFAULT",
|
|
180
|
+
interpolation: Interpolation | None = ...,
|
|
181
|
+
converters: _ConvertersMap = ...,
|
|
182
|
+
) -> None: ...
|
|
183
|
+
@overload
|
|
184
|
+
def __init__(
|
|
185
|
+
self,
|
|
186
|
+
defaults: Mapping[str, str | None] | None,
|
|
187
|
+
dict_type: type[Mapping[str, str]],
|
|
188
|
+
allow_no_value: Literal[True],
|
|
189
|
+
*,
|
|
190
|
+
delimiters: Sequence[str] = ("=", ":"),
|
|
191
|
+
comment_prefixes: Sequence[str] = ("#", ";"),
|
|
192
|
+
inline_comment_prefixes: Sequence[str] | None = None,
|
|
193
|
+
strict: bool = True,
|
|
194
|
+
empty_lines_in_values: bool = True,
|
|
195
|
+
default_section: str = "DEFAULT",
|
|
196
|
+
interpolation: Interpolation | None = ...,
|
|
197
|
+
converters: _ConvertersMap = ...,
|
|
198
|
+
) -> None: ...
|
|
199
|
+
@overload
|
|
200
|
+
def __init__(
|
|
201
|
+
self,
|
|
202
|
+
defaults: _Section | None = None,
|
|
203
|
+
dict_type: type[Mapping[str, str]] = ...,
|
|
204
|
+
allow_no_value: bool = False,
|
|
205
|
+
*,
|
|
206
|
+
delimiters: Sequence[str] = ("=", ":"),
|
|
207
|
+
comment_prefixes: Sequence[str] = ("#", ";"),
|
|
208
|
+
inline_comment_prefixes: Sequence[str] | None = None,
|
|
209
|
+
strict: bool = True,
|
|
210
|
+
empty_lines_in_values: bool = True,
|
|
211
|
+
default_section: str = "DEFAULT",
|
|
212
|
+
interpolation: Interpolation | None = ...,
|
|
213
|
+
converters: _ConvertersMap = ...,
|
|
214
|
+
) -> None: ...
|
|
215
|
+
|
|
137
216
|
def __len__(self) -> int: ...
|
|
138
217
|
def __getitem__(self, key: str) -> SectionProxy: ...
|
|
139
218
|
def __setitem__(self, key: str, value: _Section) -> None: ...
|
|
@@ -300,7 +379,10 @@ class InterpolationSyntaxError(InterpolationError): ...
|
|
|
300
379
|
class ParsingError(Error):
|
|
301
380
|
source: str
|
|
302
381
|
errors: list[tuple[int, str]]
|
|
303
|
-
if sys.version_info >= (3,
|
|
382
|
+
if sys.version_info >= (3, 13):
|
|
383
|
+
def __init__(self, source: str, *args: object) -> None: ...
|
|
384
|
+
def combine(self, others: Iterable[ParsingError]) -> ParsingError: ...
|
|
385
|
+
elif sys.version_info >= (3, 12):
|
|
304
386
|
def __init__(self, source: str) -> None: ...
|
|
305
387
|
else:
|
|
306
388
|
def __init__(self, source: str | None = None, filename: str | None = None) -> None: ...
|
|
@@ -311,3 +393,12 @@ class MissingSectionHeaderError(ParsingError):
|
|
|
311
393
|
lineno: int
|
|
312
394
|
line: str
|
|
313
395
|
def __init__(self, filename: str, lineno: int, line: str) -> None: ...
|
|
396
|
+
|
|
397
|
+
if sys.version_info >= (3, 13):
|
|
398
|
+
class _UNNAMED_SECTION: ...
|
|
399
|
+
UNNAMED_SECTION: _UNNAMED_SECTION
|
|
400
|
+
|
|
401
|
+
class MultilineContinuationError(ParsingError):
|
|
402
|
+
lineno: int
|
|
403
|
+
line: str
|
|
404
|
+
def __init__(self, filename: str, lineno: int, line: str) -> None: ...
|
|
@@ -5,7 +5,7 @@ from _typeshed import DataclassInstance
|
|
|
5
5
|
from builtins import type as Type # alias to avoid name clashes with fields named "type"
|
|
6
6
|
from collections.abc import Callable, Iterable, Mapping
|
|
7
7
|
from typing import Any, Generic, Literal, Protocol, TypeVar, overload
|
|
8
|
-
from typing_extensions import TypeAlias,
|
|
8
|
+
from typing_extensions import TypeAlias, TypeIs
|
|
9
9
|
|
|
10
10
|
if sys.version_info >= (3, 9):
|
|
11
11
|
from types import GenericAlias
|
|
@@ -214,11 +214,9 @@ else:
|
|
|
214
214
|
|
|
215
215
|
def fields(class_or_instance: DataclassInstance | type[DataclassInstance]) -> tuple[Field[Any], ...]: ...
|
|
216
216
|
@overload
|
|
217
|
-
def is_dataclass(obj:
|
|
217
|
+
def is_dataclass(obj: type) -> TypeIs[type[DataclassInstance]]: ...
|
|
218
218
|
@overload
|
|
219
|
-
def is_dataclass(obj:
|
|
220
|
-
@overload
|
|
221
|
-
def is_dataclass(obj: object) -> TypeGuard[DataclassInstance | type[DataclassInstance]]: ...
|
|
219
|
+
def is_dataclass(obj: object) -> TypeIs[DataclassInstance | type[DataclassInstance]]: ...
|
|
222
220
|
|
|
223
221
|
class FrozenInstanceError(AttributeError): ...
|
|
224
222
|
|
|
@@ -79,6 +79,9 @@ class date:
|
|
|
79
79
|
def isoformat(self) -> str: ...
|
|
80
80
|
def timetuple(self) -> struct_time: ...
|
|
81
81
|
def toordinal(self) -> int: ...
|
|
82
|
+
if sys.version_info >= (3, 13):
|
|
83
|
+
def __replace__(self, /, *, year: SupportsIndex = ..., month: SupportsIndex = ..., day: SupportsIndex = ...) -> Self: ...
|
|
84
|
+
|
|
82
85
|
def replace(self, year: SupportsIndex = ..., month: SupportsIndex = ..., day: SupportsIndex = ...) -> Self: ...
|
|
83
86
|
def __le__(self, value: date, /) -> bool: ...
|
|
84
87
|
def __lt__(self, value: date, /) -> bool: ...
|
|
@@ -148,6 +151,19 @@ class time:
|
|
|
148
151
|
def utcoffset(self) -> timedelta | None: ...
|
|
149
152
|
def tzname(self) -> str | None: ...
|
|
150
153
|
def dst(self) -> timedelta | None: ...
|
|
154
|
+
if sys.version_info >= (3, 13):
|
|
155
|
+
def __replace__(
|
|
156
|
+
self,
|
|
157
|
+
/,
|
|
158
|
+
*,
|
|
159
|
+
hour: SupportsIndex = ...,
|
|
160
|
+
minute: SupportsIndex = ...,
|
|
161
|
+
second: SupportsIndex = ...,
|
|
162
|
+
microsecond: SupportsIndex = ...,
|
|
163
|
+
tzinfo: _TzInfo | None = ...,
|
|
164
|
+
fold: int = ...,
|
|
165
|
+
) -> Self: ...
|
|
166
|
+
|
|
151
167
|
def replace(
|
|
152
168
|
self,
|
|
153
169
|
hour: SupportsIndex = ...,
|
|
@@ -263,6 +279,22 @@ class datetime(date):
|
|
|
263
279
|
def date(self) -> _Date: ...
|
|
264
280
|
def time(self) -> _Time: ...
|
|
265
281
|
def timetz(self) -> _Time: ...
|
|
282
|
+
if sys.version_info >= (3, 13):
|
|
283
|
+
def __replace__(
|
|
284
|
+
self,
|
|
285
|
+
/,
|
|
286
|
+
*,
|
|
287
|
+
year: SupportsIndex = ...,
|
|
288
|
+
month: SupportsIndex = ...,
|
|
289
|
+
day: SupportsIndex = ...,
|
|
290
|
+
hour: SupportsIndex = ...,
|
|
291
|
+
minute: SupportsIndex = ...,
|
|
292
|
+
second: SupportsIndex = ...,
|
|
293
|
+
microsecond: SupportsIndex = ...,
|
|
294
|
+
tzinfo: _TzInfo | None = ...,
|
|
295
|
+
fold: int = ...,
|
|
296
|
+
) -> Self: ...
|
|
297
|
+
|
|
266
298
|
def replace(
|
|
267
299
|
self,
|
|
268
300
|
year: SupportsIndex = ...,
|
|
@@ -31,10 +31,12 @@ if sys.version_info >= (3, 11):
|
|
|
31
31
|
"nonmember",
|
|
32
32
|
"property",
|
|
33
33
|
"verify",
|
|
34
|
+
"pickle_by_enum_name",
|
|
35
|
+
"pickle_by_global_name",
|
|
34
36
|
]
|
|
35
37
|
|
|
36
|
-
if sys.version_info >= (3,
|
|
37
|
-
__all__ += ["
|
|
38
|
+
if sys.version_info >= (3, 13):
|
|
39
|
+
__all__ += ["EnumDict"]
|
|
38
40
|
|
|
39
41
|
_EnumMemberT = TypeVar("_EnumMemberT")
|
|
40
42
|
_EnumerationT = TypeVar("_EnumerationT", bound=type[Enum])
|
|
@@ -74,6 +76,12 @@ class _EnumDict(dict[str, Any]):
|
|
|
74
76
|
def update(self, members: SupportsKeysAndGetItem[str, Any], **more_members: Any) -> None: ...
|
|
75
77
|
@overload
|
|
76
78
|
def update(self, members: Iterable[tuple[str, Any]], **more_members: Any) -> None: ...
|
|
79
|
+
if sys.version_info >= (3, 13):
|
|
80
|
+
@property
|
|
81
|
+
def member_names(self) -> list[str]: ...
|
|
82
|
+
|
|
83
|
+
if sys.version_info >= (3, 13):
|
|
84
|
+
EnumDict = _EnumDict
|
|
77
85
|
|
|
78
86
|
# Structurally: Iterable[T], Reversible[T], Container[T] where T is the enum itself
|
|
79
87
|
class EnumMeta(type):
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import sys
|
|
2
2
|
from _typeshed import StrOrBytesPath
|
|
3
|
-
from collections.abc import Iterator
|
|
3
|
+
from collections.abc import Iterator, Sequence
|
|
4
4
|
from typing import AnyStr
|
|
5
5
|
|
|
6
6
|
__all__ = ["escape", "glob", "iglob"]
|
|
7
7
|
|
|
8
|
+
if sys.version_info >= (3, 13):
|
|
9
|
+
__all__ += ["translate"]
|
|
10
|
+
|
|
8
11
|
def glob0(dirname: AnyStr, pattern: AnyStr) -> list[AnyStr]: ...
|
|
9
12
|
def glob1(dirname: AnyStr, pattern: AnyStr) -> list[AnyStr]: ...
|
|
10
13
|
|
|
@@ -40,3 +43,8 @@ else:
|
|
|
40
43
|
|
|
41
44
|
def escape(pathname: AnyStr) -> AnyStr: ...
|
|
42
45
|
def has_magic(s: str | bytes) -> bool: ... # undocumented
|
|
46
|
+
|
|
47
|
+
if sys.version_info >= (3, 13):
|
|
48
|
+
def translate(
|
|
49
|
+
pat: str, *, recursive: bool = False, include_hidden: bool = False, seps: Sequence[str] | None = None
|
|
50
|
+
) -> str: ...
|
|
@@ -240,7 +240,10 @@ class DistributionFinder(MetaPathFinder):
|
|
|
240
240
|
class MetadataPathFinder(DistributionFinder):
|
|
241
241
|
@classmethod
|
|
242
242
|
def find_distributions(cls, context: DistributionFinder.Context = ...) -> Iterable[PathDistribution]: ...
|
|
243
|
-
if sys.version_info >= (3,
|
|
243
|
+
if sys.version_info >= (3, 11):
|
|
244
|
+
@classmethod
|
|
245
|
+
def invalidate_caches(cls) -> None: ...
|
|
246
|
+
elif sys.version_info >= (3, 10):
|
|
244
247
|
# Yes, this is an instance method that has a parameter named "cls"
|
|
245
248
|
def invalidate_caches(cls) -> None: ...
|
|
246
249
|
|
|
@@ -75,7 +75,7 @@ class IOBase(metaclass=abc.ABCMeta):
|
|
|
75
75
|
def __del__(self) -> None: ...
|
|
76
76
|
@property
|
|
77
77
|
def closed(self) -> bool: ...
|
|
78
|
-
def _checkClosed(self
|
|
78
|
+
def _checkClosed(self) -> None: ... # undocumented
|
|
79
79
|
|
|
80
80
|
class RawIOBase(IOBase):
|
|
81
81
|
def readall(self) -> bytes: ...
|
|
@@ -147,7 +147,11 @@ class _BaseV4:
|
|
|
147
147
|
@property
|
|
148
148
|
def max_prefixlen(self) -> Literal[32]: ...
|
|
149
149
|
|
|
150
|
-
class IPv4Address(_BaseV4, _BaseAddress):
|
|
150
|
+
class IPv4Address(_BaseV4, _BaseAddress):
|
|
151
|
+
if sys.version_info >= (3, 13):
|
|
152
|
+
@property
|
|
153
|
+
def ipv6_mapped(self) -> IPv6Address: ...
|
|
154
|
+
|
|
151
155
|
class IPv4Network(_BaseV4, _BaseNetwork[IPv4Address]): ...
|
|
152
156
|
|
|
153
157
|
class IPv4Interface(IPv4Address, _BaseInterface[IPv4Address, IPv4Network]):
|
|
@@ -17,6 +17,10 @@ _T3 = TypeVar("_T3")
|
|
|
17
17
|
_T4 = TypeVar("_T4")
|
|
18
18
|
_T5 = TypeVar("_T5")
|
|
19
19
|
_T6 = TypeVar("_T6")
|
|
20
|
+
_T7 = TypeVar("_T7")
|
|
21
|
+
_T8 = TypeVar("_T8")
|
|
22
|
+
_T9 = TypeVar("_T9")
|
|
23
|
+
_T10 = TypeVar("_T10")
|
|
20
24
|
|
|
21
25
|
_Step: TypeAlias = SupportsFloat | SupportsInt | SupportsIndex | SupportsComplex
|
|
22
26
|
|
|
@@ -214,6 +218,60 @@ class product(Iterator[_T_co]):
|
|
|
214
218
|
/,
|
|
215
219
|
) -> product[tuple[_T1, _T2, _T3, _T4, _T5, _T6]]: ...
|
|
216
220
|
@overload
|
|
221
|
+
def __new__(
|
|
222
|
+
cls,
|
|
223
|
+
iter1: Iterable[_T1],
|
|
224
|
+
iter2: Iterable[_T2],
|
|
225
|
+
iter3: Iterable[_T3],
|
|
226
|
+
iter4: Iterable[_T4],
|
|
227
|
+
iter5: Iterable[_T5],
|
|
228
|
+
iter6: Iterable[_T6],
|
|
229
|
+
iter7: Iterable[_T7],
|
|
230
|
+
/,
|
|
231
|
+
) -> product[tuple[_T1, _T2, _T3, _T4, _T5, _T6, _T7]]: ...
|
|
232
|
+
@overload
|
|
233
|
+
def __new__(
|
|
234
|
+
cls,
|
|
235
|
+
iter1: Iterable[_T1],
|
|
236
|
+
iter2: Iterable[_T2],
|
|
237
|
+
iter3: Iterable[_T3],
|
|
238
|
+
iter4: Iterable[_T4],
|
|
239
|
+
iter5: Iterable[_T5],
|
|
240
|
+
iter6: Iterable[_T6],
|
|
241
|
+
iter7: Iterable[_T7],
|
|
242
|
+
iter8: Iterable[_T8],
|
|
243
|
+
/,
|
|
244
|
+
) -> product[tuple[_T1, _T2, _T3, _T4, _T5, _T6, _T7, _T8]]: ...
|
|
245
|
+
@overload
|
|
246
|
+
def __new__(
|
|
247
|
+
cls,
|
|
248
|
+
iter1: Iterable[_T1],
|
|
249
|
+
iter2: Iterable[_T2],
|
|
250
|
+
iter3: Iterable[_T3],
|
|
251
|
+
iter4: Iterable[_T4],
|
|
252
|
+
iter5: Iterable[_T5],
|
|
253
|
+
iter6: Iterable[_T6],
|
|
254
|
+
iter7: Iterable[_T7],
|
|
255
|
+
iter8: Iterable[_T8],
|
|
256
|
+
iter9: Iterable[_T9],
|
|
257
|
+
/,
|
|
258
|
+
) -> product[tuple[_T1, _T2, _T3, _T4, _T5, _T6, _T7, _T8, _T9]]: ...
|
|
259
|
+
@overload
|
|
260
|
+
def __new__(
|
|
261
|
+
cls,
|
|
262
|
+
iter1: Iterable[_T1],
|
|
263
|
+
iter2: Iterable[_T2],
|
|
264
|
+
iter3: Iterable[_T3],
|
|
265
|
+
iter4: Iterable[_T4],
|
|
266
|
+
iter5: Iterable[_T5],
|
|
267
|
+
iter6: Iterable[_T6],
|
|
268
|
+
iter7: Iterable[_T7],
|
|
269
|
+
iter8: Iterable[_T8],
|
|
270
|
+
iter9: Iterable[_T9],
|
|
271
|
+
iter10: Iterable[_T10],
|
|
272
|
+
/,
|
|
273
|
+
) -> product[tuple[_T1, _T2, _T3, _T4, _T5, _T6, _T7, _T8, _T9, _T10]]: ...
|
|
274
|
+
@overload
|
|
217
275
|
def __new__(cls, *iterables: Iterable[_T1], repeat: int = 1) -> product[tuple[_T1, ...]]: ...
|
|
218
276
|
def __iter__(self) -> Self: ...
|
|
219
277
|
def __next__(self) -> _T_co: ...
|
|
@@ -10,8 +10,8 @@ INFINITY: float
|
|
|
10
10
|
|
|
11
11
|
def py_encode_basestring(s: str) -> str: ... # undocumented
|
|
12
12
|
def py_encode_basestring_ascii(s: str) -> str: ... # undocumented
|
|
13
|
-
def encode_basestring(s: str) -> str: ... # undocumented
|
|
14
|
-
def encode_basestring_ascii(s: str) -> str: ... # undocumented
|
|
13
|
+
def encode_basestring(s: str, /) -> str: ... # undocumented
|
|
14
|
+
def encode_basestring_ascii(s: str, /) -> str: ... # undocumented
|
|
15
15
|
|
|
16
16
|
class JSONEncoder:
|
|
17
17
|
item_separator: str
|
|
@@ -96,7 +96,6 @@ __all__ = [
|
|
|
96
96
|
"getpreferredencoding",
|
|
97
97
|
"Error",
|
|
98
98
|
"setlocale",
|
|
99
|
-
"resetlocale",
|
|
100
99
|
"localeconv",
|
|
101
100
|
"strcoll",
|
|
102
101
|
"strxfrm",
|
|
@@ -121,6 +120,9 @@ if sys.version_info >= (3, 11):
|
|
|
121
120
|
if sys.version_info < (3, 12):
|
|
122
121
|
__all__ += ["format"]
|
|
123
122
|
|
|
123
|
+
if sys.version_info < (3, 13):
|
|
124
|
+
__all__ += ["resetlocale"]
|
|
125
|
+
|
|
124
126
|
if sys.platform != "win32":
|
|
125
127
|
__all__ += ["LC_MESSAGES"]
|
|
126
128
|
|
|
@@ -133,7 +135,9 @@ def getlocale(category: int = ...) -> tuple[_str | None, _str | None]: ...
|
|
|
133
135
|
def setlocale(category: int, locale: _str | Iterable[_str | None] | None = None) -> _str: ...
|
|
134
136
|
def getpreferredencoding(do_setlocale: bool = True) -> _str: ...
|
|
135
137
|
def normalize(localename: _str) -> _str: ...
|
|
136
|
-
|
|
138
|
+
|
|
139
|
+
if sys.version_info < (3, 13):
|
|
140
|
+
def resetlocale(category: int = ...) -> None: ...
|
|
137
141
|
|
|
138
142
|
if sys.version_info < (3, 12):
|
|
139
143
|
def format(
|
|
@@ -469,7 +469,7 @@ class LoggerAdapter(Generic[_L]):
|
|
|
469
469
|
def getEffectiveLevel(self) -> int: ...
|
|
470
470
|
def setLevel(self, level: _Level) -> None: ...
|
|
471
471
|
def hasHandlers(self) -> bool: ...
|
|
472
|
-
if sys.version_info >= (3,
|
|
472
|
+
if sys.version_info >= (3, 11):
|
|
473
473
|
def _log(
|
|
474
474
|
self,
|
|
475
475
|
level: int,
|
|
@@ -46,7 +46,7 @@ class BaseRotatingHandler(FileHandler):
|
|
|
46
46
|
def rotate(self, source: str, dest: str) -> None: ...
|
|
47
47
|
|
|
48
48
|
class RotatingFileHandler(BaseRotatingHandler):
|
|
49
|
-
maxBytes:
|
|
49
|
+
maxBytes: int # undocumented
|
|
50
50
|
backupCount: int # undocumented
|
|
51
51
|
if sys.version_info >= (3, 9):
|
|
52
52
|
def __init__(
|
|
@@ -125,4 +125,4 @@ if sys.version_info >= (3, 9):
|
|
|
125
125
|
def ulp(x: _SupportsFloatOrIndex, /) -> float: ...
|
|
126
126
|
|
|
127
127
|
if sys.version_info >= (3, 13):
|
|
128
|
-
def fma(x: _SupportsFloatOrIndex, y: _SupportsFloatOrIndex, z: _SupportsFloatOrIndex) -> float: ...
|
|
128
|
+
def fma(x: _SupportsFloatOrIndex, y: _SupportsFloatOrIndex, z: _SupportsFloatOrIndex, /) -> float: ...
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import sys
|
|
1
2
|
from _typeshed import StrPath
|
|
2
3
|
from collections.abc import Sequence
|
|
3
4
|
from typing import IO
|
|
@@ -18,6 +19,9 @@ __all__ = [
|
|
|
18
19
|
"common_types",
|
|
19
20
|
]
|
|
20
21
|
|
|
22
|
+
if sys.version_info >= (3, 13):
|
|
23
|
+
__all__ += ["guess_file_type"]
|
|
24
|
+
|
|
21
25
|
def guess_type(url: StrPath, strict: bool = True) -> tuple[str | None, str | None]: ...
|
|
22
26
|
def guess_all_extensions(type: str, strict: bool = True) -> list[str]: ...
|
|
23
27
|
def guess_extension(type: str, strict: bool = True) -> str | None: ...
|
|
@@ -25,6 +29,9 @@ def init(files: Sequence[str] | None = None) -> None: ...
|
|
|
25
29
|
def read_mime_types(file: str) -> dict[str, str] | None: ...
|
|
26
30
|
def add_type(type: str, ext: str, strict: bool = True) -> None: ...
|
|
27
31
|
|
|
32
|
+
if sys.version_info >= (3, 13):
|
|
33
|
+
def guess_file_type(path: StrPath, *, strict: bool = True) -> tuple[str | None, str | None]: ...
|
|
34
|
+
|
|
28
35
|
inited: bool
|
|
29
36
|
knownfiles: list[str]
|
|
30
37
|
suffix_map: dict[str, str]
|
|
@@ -44,3 +51,5 @@ class MimeTypes:
|
|
|
44
51
|
def read(self, filename: str, strict: bool = True) -> None: ...
|
|
45
52
|
def readfp(self, fp: IO[str], strict: bool = True) -> None: ...
|
|
46
53
|
def read_windows_registry(self, strict: bool = True) -> None: ...
|
|
54
|
+
if sys.version_info >= (3, 13):
|
|
55
|
+
def guess_file_type(self, path: StrPath, *, strict: bool = True) -> tuple[str | None, str | None]: ...
|
|
@@ -76,6 +76,8 @@ class mmap(Iterable[int], Sized):
|
|
|
76
76
|
def __exit__(self, *args: Unused) -> None: ...
|
|
77
77
|
def __buffer__(self, flags: int, /) -> memoryview: ...
|
|
78
78
|
def __release_buffer__(self, buffer: memoryview, /) -> None: ...
|
|
79
|
+
if sys.version_info >= (3, 13):
|
|
80
|
+
def seekable(self) -> bool: ...
|
|
79
81
|
|
|
80
82
|
if sys.platform != "win32":
|
|
81
83
|
MADV_NORMAL: int
|
|
@@ -83,6 +83,8 @@ class DictProxy(BaseProxy, MutableMapping[_KT, _VT]):
|
|
|
83
83
|
def keys(self) -> list[_KT]: ... # type: ignore[override]
|
|
84
84
|
def items(self) -> list[tuple[_KT, _VT]]: ... # type: ignore[override]
|
|
85
85
|
def values(self) -> list[_VT]: ... # type: ignore[override]
|
|
86
|
+
if sys.version_info >= (3, 13):
|
|
87
|
+
def __class_getitem__(cls, args: Any, /) -> Any: ...
|
|
86
88
|
|
|
87
89
|
class BaseListProxy(BaseProxy, MutableSequence[_T]):
|
|
88
90
|
__builtins__: ClassVar[dict[str, Any]]
|
|
@@ -117,6 +119,8 @@ class BaseListProxy(BaseProxy, MutableSequence[_T]):
|
|
|
117
119
|
class ListProxy(BaseListProxy[_T]):
|
|
118
120
|
def __iadd__(self, value: Iterable[_T], /) -> Self: ... # type: ignore[override]
|
|
119
121
|
def __imul__(self, value: SupportsIndex, /) -> Self: ... # type: ignore[override]
|
|
122
|
+
if sys.version_info >= (3, 13):
|
|
123
|
+
def __class_getitem__(cls, args: Any, /) -> Any: ...
|
|
120
124
|
|
|
121
125
|
# Returned by BaseManager.get_server()
|
|
122
126
|
class Server:
|
|
@@ -11,7 +11,11 @@ __all__ = ["SharedMemory", "ShareableList"]
|
|
|
11
11
|
_SLT = TypeVar("_SLT", int, float, bool, str, bytes, None)
|
|
12
12
|
|
|
13
13
|
class SharedMemory:
|
|
14
|
-
|
|
14
|
+
if sys.version_info >= (3, 13):
|
|
15
|
+
def __init__(self, name: str | None = None, create: bool = False, size: int = 0, *, track: bool = True) -> None: ...
|
|
16
|
+
else:
|
|
17
|
+
def __init__(self, name: str | None = None, create: bool = False, size: int = 0) -> None: ...
|
|
18
|
+
|
|
15
19
|
@property
|
|
16
20
|
def buf(self) -> memoryview: ...
|
|
17
21
|
@property
|