improve sqlite3 support -> added mixins -> fixes #84

This commit is contained in:
David Halter
2012-12-19 22:26:53 +01:00
parent acc8a4bc66
commit 2ee09980eb
2 changed files with 46 additions and 0 deletions

View File

@@ -67,6 +67,26 @@ def example(a):
#? str()
example('')
# -----------------
# sqlite3 (#84)
# -----------------
import sqlite3
#? sqlite3.Connection()
con = sqlite3.connect()
#? sqlite3.Cursor()
c = con.cursor()
#? sqlite3.Row()
row = c.fetchall()[0]
#? str()
row.keys()[0]
def huhu(db):
"""db (sqlite3.Connection): the db connection"""
#? sqlite3.Connection()
db
# -----------------
# various regression tests
# -----------------