Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5503d47 commit 557a063Copy full SHA for 557a063
1 file changed
Doc/library/sqlite3.rst
@@ -495,7 +495,7 @@ Connection Objects
495
deleted since the database connection was opened.
496
497
498
- .. attribute:: iterdump
+ .. method:: iterdump
499
500
Returns an iterator to dump the database in an SQL text format. Useful when
501
saving an in-memory database for later restoration. This function provides
@@ -505,7 +505,7 @@ Connection Objects
505
Example::
506
507
# Convert file existing_db.db to SQL dump file dump.sql
508
- import sqlite3, os
+ import sqlite3
509
510
con = sqlite3.connect('existing_db.db')
511
with open('dump.sql', 'w') as f:
0 commit comments