]> git.ipfire.org Git - thirdparty/psycopg.git/commitdiff
Fixed comment
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Tue, 26 Jan 2021 13:16:50 +0000 (14:16 +0100)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Tue, 26 Jan 2021 13:16:50 +0000 (14:16 +0100)
psycopg3/psycopg3/copy.py

index a0c9d6513cb365ea4ebe4733430191d956ea15f0..b55506906b1bdaa1cf5cb53cfaadc6e4d39ab83c 100644 (file)
@@ -389,7 +389,7 @@ class Formatter(ABC):
     def __init__(self, transformer: Transformer):
         self.transformer = transformer
         self._write_buffer = bytearray()
-        self._row_mode = False  # true if the user is using send_row()
+        self._row_mode = False  # true if the user is using write_row()
 
     @abstractmethod
     def parse_row(self, data: bytes) -> Optional[Tuple[Any, ...]]: