Did I find the right examples for you? yes no Crawl my project Python Jobs
All Samples(9) | Call(6) | Derive(0) | Import(3)
unicode(object='') -> unicode object unicode(string[, encoding[, errors]]) -> unicode object Create a new Unicode object from the given encoded string. encoding defaults to the current default string encoding. errors can be 'strict', 'replace' or 'ignore' and defaults to 'strict'.
src/d/j/django-mysql-pymysql-0.1/src/mysql_pymysql/base.py django-mysql-pymysql(Download)
Requires PyMySQL: https://github.com/clelland/pymysql """ from .py3 import text_type, long_type, reraise import re
# MySQL doesn't support microseconds return text_type(value.replace(microsecond=0)) def value_to_db_time(self, value):
# MySQL doesn't support microseconds return text_type(value.replace(microsecond=0)) def year_lookup_bounds(self, value):
src/d/j/django-mysql-pymysql-HEAD/src/mysql_pymysql/base.py django-mysql-pymysql(Download)
Requires PyMySQL: https://github.com/clelland/pymysql """ from .py3 import text_type, long_type, reraise import re
# MySQL doesn't support microseconds return text_type(value.replace(microsecond=0)) def value_to_db_time(self, value):
# MySQL doesn't support microseconds return text_type(value.replace(microsecond=0)) def year_lookup_bounds(self, value):
src/f/e/FetionWether-HEAD/hello/mysql_pymysql/base.py FetionWether(Download)
Requires PyMySQL: https://github.com/clelland/pymysql """ from .py3 import text_type, long_type, reraise import re
# MySQL doesn't support microseconds return text_type(value.replace(microsecond=0)) def value_to_db_time(self, value):
# MySQL doesn't support microseconds return text_type(value.replace(microsecond=0)) def year_lookup_bounds(self, value):