Fix doc bug in patterns/sqlite3, clarify use of make_dicts

* It was unclear from reading the documentation where the author intened make_dicts to go, so I added that information

* The docs had a bug in the code, referring to `cursor` in the argument list but `cur` in the generator expression