Skip to content

Commit aff7c66

Browse files
committed
Fixed Documentation.
1 parent 8d0c4ee commit aff7c66

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

DBUtils/Docs/UsersGuide.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ Credits
444444
Copyright and License
445445
=====================
446446

447-
Copyright � 2005-2006 by Christoph Zwerschke.
447+
Copyright � 2005-2007 by Christoph Zwerschke.
448448
All Rights Reserved.
449449

450450
DBUtils is free and open source software,

DBUtils/PooledDB.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -126,10 +126,10 @@ class InvalidConnection(PooledDBError): pass
126126

127127

128128
class PooledDB:
129-
"""Pool for classic PyGreSQL connections.
129+
"""Pool for DB-API 2 connections.
130130
131131
After you have created the connection pool, you can use
132-
connection() to get pooled, steady PostgreSQL connections.
132+
connection() to get pooled, steady DB-API 2 connections.
133133
134134
"""
135135

@@ -138,7 +138,7 @@ def __init__(self, dbapi,
138138
maxshared=0, maxconnections=0, blocking=0,
139139
maxusage=0, setsession=None,
140140
*args, **kwargs):
141-
"""Set up the PostgreSQL connection pool.
141+
"""Set up the DB-API 2 connection pool.
142142
143143
dbapi: the DB-API 2 compliant database module to be used
144144
mincached: initial number of idle connections in the pool
@@ -161,7 +161,7 @@ def __init__(self, dbapi,
161161
setsession: optional list of SQL commands that may serve to prepare
162162
the session, e.g. ["set datestyle to ...", "set time zone ..."]
163163
args, kwargs: the parameters that shall be used to establish
164-
the PostgreSQL connections using class PyGreSQL pg.DB()
164+
the DB-API 2 connections using the DB-API 2 module
165165
166166
"""
167167
self._dbapi = dbapi

0 commit comments

Comments
 (0)