]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
more edits
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 17 Feb 2023 16:25:16 +0000 (11:25 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 17 Feb 2023 16:25:16 +0000 (11:25 -0500)
I can only see issues in the docs when they're live on the
site, sorry

Change-Id: I948b7c8e37657ca85d02843211cbfdb03aa5da75

lib/sqlalchemy/ext/hybrid.py

index 735e46716058c287d41b0552b5737e08b470ab11..4e0fd4604997df6fd9df5c4bc4f2b2201f8e45b0 100644 (file)
@@ -232,7 +232,7 @@ example below that illustrates the use of :meth:`.hybrid_property.setter` and
 Above, there are three ``Interval.radius`` methods, but as each are decorated,
 first by the :class:`.hybrid_property` decorator and then by the
 ``@radius`` name itself, the end effect is that ``Interval.radius`` is
-a single attribute with two different functions contained within it.
+a single attribute with three different functions contained within it.
 This style of use is taken from `Python's documented use of @property
 <https://docs.python.org/3/library/functions.html#property>`_.
 It is important to note that the way both ``@property`` as well as
@@ -247,7 +247,7 @@ mypy and pyright.  Python's own ``@property`` decorator does not have this
 limitation only because
 `these tools hardcode the behavior of @property
 <https://github.com/python/typing/discussions/1102>`_, meaning this syntax
-is no longer available to SQLAlchemy under :pep:`484` compliance.
+is not available to SQLAlchemy under :pep:`484` compliance.
 
 In order to produce a reasonable syntax while remaining typing compliant,
 the :attr:`.hybrid_property.inplace` decorator allows the same