summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorFederico Ceratto <federico.ceratto@gmail.com>2018-10-16 23:17:37 +0100
committerAndreas Rumpf <rumpf_a@web.de>2018-10-17 00:17:37 +0200
commitafc453beff83813d7d4b37501e4602d5dadf4683 (patch)
treedc0fcb5db0e0834dbf2048da307d90e42a05df95 /lib
parent3e9f50692393abf5d8befbd9cb17773de032f4f3 (diff)
downloadNim-afc453beff83813d7d4b37501e4602d5dadf4683.tar.gz
Update example (#9395)
Diffstat (limited to 'lib')
-rw-r--r--lib/impure/db_sqlite.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/impure/db_sqlite.nim b/lib/impure/db_sqlite.nim
index a40c88a11..52a168096 100644
--- a/lib/impure/db_sqlite.nim
+++ b/lib/impure/db_sqlite.nim
@@ -31,7 +31,7 @@
 ##
 ## .. code-block:: Nim
 ##     import db_sqlite
-##     let db = open("mytest.db", nil, nil, nil)  # user, password, database name can be nil
+##     let db = open("mytest.db", "", "", "")  # user, password, database name can be empty
 ##     db.close()
 ##
 ## Creating a table