]> git.ipfire.org Git - thirdparty/psycopg.git/commitdiff
Added missing file headers
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Tue, 1 Dec 2020 03:13:15 +0000 (03:13 +0000)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Tue, 1 Dec 2020 03:18:45 +0000 (03:18 +0000)
psycopg3/psycopg3/_column.py
psycopg3/psycopg3/conninfo.py
psycopg3/psycopg3/types/composite.py

index b9ae0013b140c31fc5aa6ef63ee344c41a34c879..91fe2ce5170b92e0180d34f735a04ccf07306f67 100644 (file)
@@ -1,3 +1,9 @@
+"""
+The Column object in Cursor.description
+"""
+
+# Copyright (C) 2020 The Psycopg Team
+
 from typing import Any, NamedTuple, Optional, Sequence, TYPE_CHECKING
 from operator import attrgetter
 
index a5c431e58fa9d5bb30e2cba60dcc7fdd3e1c78d4..6d6ea6333324c3cc92c3b6af3b417a1869cef352 100644 (file)
@@ -1,3 +1,9 @@
+"""
+Functions to manipulate conninfo strings
+"""
+
+# Copyright (C) 2020 The Psycopg Team
+
 import re
 from typing import Any, Dict, List
 
@@ -15,7 +21,7 @@ def make_conninfo(conninfo: str = "", **kwargs: Any) -> str:
         return ""
 
     # If no kwarg specified don't mung the conninfo but check if it's correct.
-    # Make sure to return a string, not a subtypep, to avoid making Liskov sad.
+    # Make sure to return a string, not a subtype, to avoid making Liskov sad.
     if not kwargs:
         _parse_conninfo(conninfo)
         return str(conninfo)
index 320fa669ede30955aeb3041dfda7976567c926e3..8d309a66f1b75676326199f91e8b6cda0b0976b4 100644 (file)
@@ -2,6 +2,8 @@
 Support for composite types adaptation.
 """
 
+# Copyright (C) 2020 The Psycopg Team
+
 import re
 import struct
 from collections import namedtuple