diff --git a/Lib/sqlite3/dbapi2.py b/Lib/sqlite3/dbapi2.py index cfe6225f46..855ea82f26 100644 --- a/Lib/sqlite3/dbapi2.py +++ b/Lib/sqlite3/dbapi2.py @@ -84,6 +84,9 @@ def convert_timestamp(val): register_adapters_and_converters() +# Add pretty-print repr to Row +Row.__repr__ = lambda row: f"" + # bpo-24464: enable_shared_cache was deprecated in Python 3.10. It's # scheduled for removal in Python 3.12. def enable_shared_cache(enable):