basedpyright 1.31.1__py3-none-any.whl → 1.31.2__py3-none-any.whl

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.
@@ -153762,7 +153762,7 @@ exports.ReadOnlyAugmentedFileSystem = ReadOnlyAugmentedFileSystem;
153762
153762
  /***/ ((module) => {
153763
153763
 
153764
153764
  "use strict";
153765
- module.exports = "1.31.1";
153765
+ module.exports = "1.31.2";
153766
153766
 
153767
153767
  /***/ }),
153768
153768
 
@@ -168,10 +168,18 @@ class Real(Complex, _RealLike):
168
168
  class Rational(Real):
169
169
  @property
170
170
  @abstractmethod
171
- def numerator(self) -> _IntegralLike: ...
171
+ def numerator(self) -> _IntegralLike:
172
+ """The numerator of a rational number in lowest terms."""
173
+ ...
172
174
  @property
173
175
  @abstractmethod
174
- def denominator(self) -> _IntegralLike: ...
176
+ def denominator(self) -> _IntegralLike:
177
+ """
178
+ The denominator of a rational number in lowest terms.
179
+
180
+ This denominator should be positive.
181
+ """
182
+ ...
175
183
  def __float__(self) -> float: ...
176
184
 
177
185
  # See comment at the top of the file
@@ -1725,7 +1725,7 @@ def chdir(path: FileDescriptorOrPath) -> None:
1725
1725
 
1726
1726
  path may always be specified as a string.
1727
1727
  On some platforms, path may also be specified as an open file descriptor.
1728
- If this functionality is unavailable, using it raises an exception.
1728
+ If this functionality is unavailable, using it raises an exception.
1729
1729
  """
1730
1730
  ...
1731
1731
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: basedpyright
3
- Version: 1.31.1
3
+ Version: 1.31.2
4
4
  Summary: static type checking for Python (but based)
5
5
  Author-Email: detachhead <detachhead@users.noreply.github.com>
6
6
  Classifier: License :: OSI Approved :: MIT License
@@ -1,12 +1,12 @@
1
- basedpyright-1.31.1.dist-info/METADATA,sha256=YCcODdyu42z1_e89h4YjWMKbGHNHTpHcjgKv5djavO4,2278
2
- basedpyright-1.31.1.dist-info/WHEEL,sha256=9P2ygRxDrTJz3gsagc0Z96ukrxjr-LFBGOgv3AuKlCA,90
3
- basedpyright-1.31.1.dist-info/entry_points.txt,sha256=y0XiLpe7d6EtUvYD9Ijeu0CZQa9v21-G41JAWoN3Qe0,130
4
- basedpyright-1.31.1.dist-info/licenses/LICENSE.txt,sha256=98k2vEPxMrCEl6yVLpN2y8EC5e7bS_bskC6oRCvZxo0,1150
1
+ basedpyright-1.31.2.dist-info/METADATA,sha256=HnsSdIwa4UWn5uRNs9xdoN8fQH6eVsreq61oow88Msg,2278
2
+ basedpyright-1.31.2.dist-info/WHEEL,sha256=9P2ygRxDrTJz3gsagc0Z96ukrxjr-LFBGOgv3AuKlCA,90
3
+ basedpyright-1.31.2.dist-info/entry_points.txt,sha256=y0XiLpe7d6EtUvYD9Ijeu0CZQa9v21-G41JAWoN3Qe0,130
4
+ basedpyright-1.31.2.dist-info/licenses/LICENSE.txt,sha256=98k2vEPxMrCEl6yVLpN2y8EC5e7bS_bskC6oRCvZxo0,1150
5
5
  basedpyright/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
6
  basedpyright/__main__.py,sha256=gbYM-2eeTxfgM4q50jRI7Z5VWkH4pTLoFt6nr7pt60A,145
7
- basedpyright/dist/pyright-langserver.js,sha256=4RETiM7TJN9lPt3P3LUPUcvJeNtHNpkf7Jc44Gsrf_Y,7939928
8
- basedpyright/dist/pyright-langserver.js.map,sha256=llrnYien3GU7imKL-rDwyqbvtjzlXUtbj4xCVH99-iQ,11630452
9
- basedpyright/dist/pyright.js,sha256=M1kWIvpYWf-YUpu6-vKcl8QkPXxOQUEbWjJ7hVFg8w4,8406106
7
+ basedpyright/dist/pyright-langserver.js,sha256=At6lFLASrJAcgog8mP0dH02bYYlK4606Zz0xgALKqvk,7940042
8
+ basedpyright/dist/pyright-langserver.js.map,sha256=101GIHIoWzb9GUrQlSgmKnSaiNdQ424d5uKrMyG6EB8,11630684
9
+ basedpyright/dist/pyright.js,sha256=-wUF6N1O-IrKdcuMm91hK8MJsV2OEzaL-QB3uLluYMI,8406106
10
10
  basedpyright/dist/pyright.js.map,sha256=M708j-szI2Y91ca8qcAJJV--abyNeYmgJ-LwbkMGe0g,12508309
11
11
  basedpyright/dist/typeshed-fallback/LICENSE,sha256=KV-FOMlK5cMEMwHPfP8chS2ranhqjd7kceBhtA1eyr4,12657
12
12
  basedpyright/dist/typeshed-fallback/README.md,sha256=YkI8XFLT_fFCqg67i524OP7pE79MJ9b0ETdG99O5IdI,6401
@@ -567,11 +567,11 @@ basedpyright/dist/typeshed-fallback/stdlib/nntplib.pyi,sha256=FYFknQ33uku7s3vEFr
567
567
  basedpyright/dist/typeshed-fallback/stdlib/nt.pyi,sha256=BGa11LmiPtUO5Y_jjET16-wx2BL5HfnTyzU7RBlo5sI,3714
568
568
  basedpyright/dist/typeshed-fallback/stdlib/ntpath.pyi,sha256=DlZKJ3dyssQ67dObfsU1c2eirder9GHEMhEyapDIAeY,3172
569
569
  basedpyright/dist/typeshed-fallback/stdlib/nturl2path.pyi,sha256=TRpgOBA9Bzg_CRWcP0XoTYvC84IP1Vcd83UjhColsHU,412
570
- basedpyright/dist/typeshed-fallback/stdlib/numbers.pyi,sha256=jlx3U2dePSaE4zewyBXE8B7Ji-sjIjKZP2t5LOcEB0w,8095
570
+ basedpyright/dist/typeshed-fallback/stdlib/numbers.pyi,sha256=MxiGDFm1MZlpeBwiTIACtSpmw8XY8OR055KbbvZ6M5w,8317
571
571
  basedpyright/dist/typeshed-fallback/stdlib/opcode.pyi,sha256=llge_zkC-Io-gbDevmPKeJD9tvQeXvkk4sdC7QClYe4,1110
572
572
  basedpyright/dist/typeshed-fallback/stdlib/operator.pyi,sha256=kVru0-en2oF57ksSlOY0FVqa53xdExk-nissM37cDa0,5129
573
573
  basedpyright/dist/typeshed-fallback/stdlib/optparse.pyi,sha256=0Mr46IMGa4Xxiqqv3iNLrkPbxOrgNB4mZw9gIj5fPlQ,13646
574
- basedpyright/dist/typeshed-fallback/stdlib/os/__init__.pyi,sha256=4dePTmPkPCT3JTGIaezVCf1AP30cDQhEeUi4NY0Nb2Y,98876
574
+ basedpyright/dist/typeshed-fallback/stdlib/os/__init__.pyi,sha256=BrH6gwKA9gZkwSJ-10b9LMdR8AH9N1RUXfrEVYMYlRI,98874
575
575
  basedpyright/dist/typeshed-fallback/stdlib/os/path.pyi,sha256=N8qo2tsqWgSDOoBUSzDJNXXbpeIu_ossKd-Lz0BZWQI,194
576
576
  basedpyright/dist/typeshed-fallback/stdlib/ossaudiodev.pyi,sha256=j1opCPZBIQMNhCvSDwkIDC0RoNbuSri3yBEeJ5BLziw,3589
577
577
  basedpyright/dist/typeshed-fallback/stdlib/parser.pyi,sha256=ZAqVrjFT2WrPiEtGYU5Ix-D-Co1IAlZXSPobJCEGhFo,1084
@@ -4764,4 +4764,4 @@ basedpyright/langserver.py,sha256=UY9l7wi9kaz2hH2dKl5gGTAnuxNX4nEtzDFOd-pq1DY,11
4764
4764
  basedpyright/package.json,sha256=NRy7WNR20OuadbeVDmLdtbucPqlRk6luRjMrlTsnkD0,1398
4765
4765
  basedpyright/pyright.py,sha256=ycHxYNs9vvvSoNXIve2mMCgBvyhZooxKaeJrOtSFpmw,105
4766
4766
  basedpyright/run_node.py,sha256=dQqRLxYWsuye72ICom5T9kbcRX_4vmCBZaam8C1zUhg,229
4767
- basedpyright-1.31.1.dist-info/RECORD,,
4767
+ basedpyright-1.31.2.dist-info/RECORD,,