]> git.ipfire.org Git - thirdparty/psycopg.git/commitdiff
Added a few module headers
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Thu, 14 May 2020 18:02:46 +0000 (06:02 +1200)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Sun, 17 May 2020 09:29:34 +0000 (21:29 +1200)
psycopg3/_psycopg3.pyx
psycopg3/types/numeric.pyx
psycopg3/types/text.pyx

index 0ab2fa969fcca673a2139523f52d7e2228a29e24..c7537e0eb91ed63bd00f5f16e1d75d20fa744a1b 100644 (file)
@@ -1,3 +1,12 @@
+"""
+psycopg3._psycopg3 optimization module.
+
+The module contains optimized C code used in preference to Python code
+if a compiler is available.
+"""
+
+# Copyright (C) 2020 The Psycopg Team
+
 include "types/numeric.pyx"
 include "types/text.pyx"
 include "adapt.pyx"
index edab1225e54aafd9f22de51dbdf27c6c79717213..6192412e16da687f500b9a0284cad3e5fd1a71f8 100644 (file)
@@ -1,3 +1,9 @@
+"""
+Cython adapters for numeric types.
+"""
+
+# Copyright (C) 2020 The Psycopg Team
+
 from libc.stdint cimport *
 from psycopg3.types.endian cimport be16toh, be32toh, be64toh
 
index d12ed2227164199ced64f7096dd134164141574e..179088dc713aae388c161aabb62103c1de4f17e4 100644 (file)
@@ -1,3 +1,9 @@
+"""
+Cython adapters for textual types.
+"""
+
+# Copyright (C) 2020 The Psycopg Team
+
 from cpython.bytes cimport PyBytes_FromStringAndSize
 from cpython.unicode cimport PyUnicode_DecodeUTF8
 from psycopg3.pq cimport libpq