diff options
author | Stefano Rivera <stefano@rivera.za.net> | 2020-10-10 13:18:15 -0700 |
---|---|---|
committer | Stefano Rivera <stefano@rivera.za.net> | 2020-10-10 13:18:15 -0700 |
commit | 8ad24a5ba286646bc54bf63e0335736502af2f5b (patch) | |
tree | 5cd39e15070d6bdf59b23c1057aa4dd04320130f /lib_pypy | |
parent | bpo-34794: Fix a leak in Tkinter. (diff) | |
download | pypy-8ad24a5ba286646bc54bf63e0335736502af2f5b.tar.gz pypy-8ad24a5ba286646bc54bf63e0335736502af2f5b.tar.bz2 pypy-8ad24a5ba286646bc54bf63e0335736502af2f5b.zip |
cpython GH-6028: Fix error message in sqlite connection thread check.
Diffstat (limited to 'lib_pypy')
-rw-r--r-- | lib_pypy/_sqlite3.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib_pypy/_sqlite3.py b/lib_pypy/_sqlite3.py index a0e6d8e1b8..16c7f38197 100644 --- a/lib_pypy/_sqlite3.py +++ b/lib_pypy/_sqlite3.py @@ -291,7 +291,7 @@ class Connection(object): raise ProgrammingError( "SQLite objects created in a thread can only be used in that " "same thread. The object was created in thread id %d and this " - "is thread id %d" % (self.__thread_ident, _thread_get_ident())) + "is thread id %d." % (self.__thread_ident, _thread_get_ident())) def _check_thread_wrap(func): @wraps(func) |