Did I find the right examples for you? yes no Crawl my project Python Jobs
All Samples(6) | Call(6) | Derive(0) | Import(0)
S.replace(old, new[, count]) -> string Return a copy of string S with all occurrences of substring old replaced by new. If the optional argument count is given, only the first count occurrences are replaced.
src/l/i/Live-Blog-HEAD/plugins/superdesk-language/__plugin__/superdesk_language/__init__.py Live-Blog(Download)
from babel import localedata, core # Babel FIX: We need to adjust the dir name for locales since they need to be outside the .egg file localedata._dirname = localedata._dirname.replace('.egg', '') core._filename = core._filename.replace('.egg', '')
src/l/i/liveblog-1.5.0/__plugin__/superdesk_language/__init__.py liveblog(Download)
from babel import localedata, core # Babel FIX: We need to adjust the dir name for locales since they need to be outside the .egg file localedata._dirname = localedata._dirname.replace('.egg', '') core._filename = core._filename.replace('.egg', '')
src/i/n/internationalization-1.0/internationalization/core/impl/po_file_manager.py internationalization(Download)
# Babel FIX: We need to adjust the dir name for locales since they need to be outside the .egg file localedata._dirname = localedata._dirname.replace('.egg', '') core._filename = core._filename.replace('.egg', '')
src/a/l/ally-py-0.9.0/internationalization/core/impl/po_file_manager.py ally-py(Download)
# Babel FIX: We need to adjust the dir name for locales since they need to be outside the .egg file localedata._dirname = localedata._dirname.replace('.egg', '') core._filename = core._filename.replace('.egg', '')
src/l/i/Live-Blog-HEAD/plugins/superdesk-language/test/performance/superdesk/language/impl/language.py Live-Blog(Download)
def testPerformance(self): from babel import localedata, core # Babel FIX: We need to adjust the dir name for locales since they need to be outside the .egg file localedata._dirname = localedata._dirname.replace('.egg', '') core._filename = core._filename.replace('.egg', '')
src/l/i/liveblog-1.5.0/test/performance/superdesk/language/impl/language.py liveblog(Download)
def testPerformance(self): from babel import localedata, core # Babel FIX: We need to adjust the dir name for locales since they need to be outside the .egg file localedata._dirname = localedata._dirname.replace('.egg', '') core._filename = core._filename.replace('.egg', '')