FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Use `database` in examples. (#933) · PyMySQL/PyMySQL@e24da41 · GitHub

Repository navigation

Commit e24da41

Browse files
authored
Use database in examples. (#933)
1 parent f5cbb6d commit e24da41

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎README.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ The following examples make use of a simple table
105105
connection = pymysql.connect(host='localhost',
106106
user='user',
107107
password='passwd',
108-
db='db',
108+
database='db',
109109
cursorclass=pymysql.cursors.DictCursor)
110110
111111
with connection:

‎docs/source/user/examples.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ The following examples make use of a simple table
3030
connection = pymysql.connect(host='localhost',
3131
user='user',
3232
password='passwd',
33-
db='db',
33+
database='db',
3434
charset='utf8mb4',
3535
cursorclass=pymysql.cursors.DictCursor)
3636

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL