basedpyright 1.31.1-e75a26c8879ea2b32b9109368b1bdf4fa01e15d7 → 1.31.1-f88818297f555f4dcdc8977c62bc81697e22bbdb

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.
@@ -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
 
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "basedpyright",
3
3
  "displayName": "basedpyright",
4
4
  "description": "a fork of pyright with various type checking improvements, pylance features and more.",
5
- "version": "1.31.1-e75a26c8879ea2b32b9109368b1bdf4fa01e15d7",
5
+ "version": "1.31.1-f88818297f555f4dcdc8977c62bc81697e22bbdb",
6
6
  "license": "MIT",
7
7
  "author": {
8
8
  "name": "detachhead"