From 6ddd1866d24df1c9f9c4f15ab9aebffc2ad9c1fc Mon Sep 17 00:00:00 2001 From: Georg Richter Date: Mon, 4 Jul 2022 14:45:17 +0200 Subject: [PATCH] Fix typo --- mariadb/connectionpool.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mariadb/connectionpool.py b/mariadb/connectionpool.py index 49b0d97..0e206c0 100644 --- a/mariadb/connectionpool.py +++ b/mariadb/connectionpool.py @@ -46,7 +46,7 @@ class ConnectionPool(object): def __init__(self, *args, **kwargs): """ - Creates a connetion pool class + Creates a connection pool class :param str pool_name: Name of connection pool @@ -85,7 +85,7 @@ class ConnectionPool(object): # validate pool size (must be in range between 1 and MAX_POOL_SIZE) if not (0 < self._pool_args["size"] <= MAX_POOL_SIZE): - raise mariadb.ProgrammError("Pool size must be in range of "\ + raise mariadb.ProgrammingError("Pool size must be in range of "\ "1 and %s" % MAX_POOL_SIZE) # store pool and connection arguments