From: Daniele Varrazzo Date: Tue, 1 Dec 2020 03:13:15 +0000 (+0000) Subject: Added missing file headers X-Git-Tag: 3.0.dev0~294 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab30895efac864c8849f1381a4bd8fa4da622731;p=thirdparty%2Fpsycopg.git Added missing file headers --- diff --git a/psycopg3/psycopg3/_column.py b/psycopg3/psycopg3/_column.py index b9ae0013b..91fe2ce51 100644 --- a/psycopg3/psycopg3/_column.py +++ b/psycopg3/psycopg3/_column.py @@ -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 diff --git a/psycopg3/psycopg3/conninfo.py b/psycopg3/psycopg3/conninfo.py index a5c431e58..6d6ea6333 100644 --- a/psycopg3/psycopg3/conninfo.py +++ b/psycopg3/psycopg3/conninfo.py @@ -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) diff --git a/psycopg3/psycopg3/types/composite.py b/psycopg3/psycopg3/types/composite.py index 320fa669e..8d309a66f 100644 --- a/psycopg3/psycopg3/types/composite.py +++ b/psycopg3/psycopg3/types/composite.py @@ -2,6 +2,8 @@ Support for composite types adaptation. """ +# Copyright (C) 2020 The Psycopg Team + import re import struct from collections import namedtuple