]> git.ipfire.org Git - thirdparty/psycopg.git/commitdiff
Drop TODO point on which I'm wrong
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Tue, 24 Aug 2021 14:47:45 +0000 (16:47 +0200)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Tue, 24 Aug 2021 14:47:45 +0000 (16:47 +0200)
psycopg/psycopg/_column.py

index 4e6a75b044000789c26b04098cc808da2f747d8b..daeb9283d0d3be11a1ddf4755661b13504e88139 100644 (file)
@@ -127,10 +127,7 @@ class Column(Sequence[Any]):
 
     @property
     def scale(self) -> Optional[int]:
-        """The number of digits after the decimal point if available.
-
-        TODO: probably better than precision for datetime objects? review.
-        """
+        """The number of digits after the decimal point if available."""
         if self._type and self._type.name == "numeric":
             fmod = self._data.fmod - 4
             if fmod >= 0: