Changeset 391 for python/trunk/Lib/sqlite3/dbapi2.py
- Timestamp:
- Mar 19, 2014, 11:31:01 PM (11 years ago)
- Location:
- python/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
python/trunk
-
Property svn:mergeinfo
set to
/python/vendor/Python-2.7.6 merged eligible /python/vendor/current merged eligible
-
Property svn:mergeinfo
set to
-
python/trunk/Lib/sqlite3/dbapi2.py
r2 r391 1 # -*- coding: ISO-8859-1 -*-1 # -*- coding: iso-8859-1 -*- 2 2 # pysqlite2/dbapi2.py: the DB-API 2.0 interface 3 3 # … … 69 69 hours, minutes, seconds = map(int, timepart_full[0].split(":")) 70 70 if len(timepart_full) == 2: 71 microseconds = int( timepart_full[1])71 microseconds = int('{:0<6.6}'.format(timepart_full[1].decode())) 72 72 else: 73 73 microseconds = 0
Note:
See TracChangeset
for help on using the changeset viewer.