summaryrefslogtreecommitdiff
path: root/doc/source/user/usage.rst
diff options
context:
space:
mode:
Diffstat (limited to 'doc/source/user/usage.rst')
-rw-r--r--doc/source/user/usage.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/source/user/usage.rst b/doc/source/user/usage.rst
index 2fe883c..8037e0c 100644
--- a/doc/source/user/usage.rst
+++ b/doc/source/user/usage.rst
@@ -84,7 +84,7 @@ is preferred:
@enginefacade.reader.connection
def _refresh_from_db(context, cache):
- sel = sa.select([table.c.id, table.c.name])
+ sel = sa.select(table.c.id, table.c.name)
res = context.connection.execute(sel).fetchall()
cache.id_cache = {r[1]: r[0] for r in res}
cache.str_cache = {r[0]: r[1] for r in res}