Skip to content

Commit 35fcc49

Browse files
author
James William Pye
committed
s/self/typ/
1 parent 52f2c9d commit 35fcc49

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

postgresql/protocol/element3.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ def bytes(self):
482482
def parse(typ, data):
483483
if data[0:4] != typ.packed_version:
484484
raise ValueError("invalid cancel query code")
485-
return typ(*self.struct.unpack(data[4:]))
485+
return typ(*typ.struct.unpack(data[4:]))
486486

487487
class NegotiateSSL(Message):
488488
"Discover backend's SSL support"

0 commit comments

Comments
 (0)