Mercurial > p > mysql-python > mysqldb-2
comparison MySQLdb/cursors.py @ 14:7773efbe9b30 MySQLdb
Formatting and PyLint fixes. Final score: 8.21/10
author | adustman |
---|---|
date | Mon, 26 Feb 2007 18:08:28 +0000 |
parents | 3f4c6af70e52 |
children | d55bfb1a4701 |
comparison
equal
deleted
inserted
replaced
13:eb90cceaee92 | 14:7773efbe9b30 |
---|---|
1 """MySQLdb Cursors | 1 """ |
2 MySQLdb Cursors | |
3 --------------- | |
2 | 4 |
3 This module implements Cursors of various types for MySQLdb. By | 5 This module implements Cursors of various types for MySQLdb. By |
4 default, MySQLdb uses the Cursor class. | 6 default, MySQLdb uses the Cursor class. |
5 | 7 |
6 """ | 8 """ |
7 | 9 |
8 __revision__ = "$ Revision: $"[11:-2] | 10 __revision__ = "$Revision$"[11:-2] |
11 __author__ = "$Author$"[9:-2] | |
9 | 12 |
10 import re | 13 import re |
11 INSERT_VALUES = re.compile( | 14 INSERT_VALUES = re.compile( |
12 r"^(P<start>.+\svalues\s*)(P<values>\(((?<!\\)'.*?\).*(?<!\\)?'|.)+?\))(P<end>.*)$", | 15 r"^(P<start>.+\svalues\s*)(P<values>\(((?<!\\)'.*?\).*(?<!\\)?'|.)+?\))(P<end>.*)$", |
13 re.IGNORECASE) | 16 re.IGNORECASE) |