Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(194)

Side by Side Diff: mojo/public/third_party/markupsafe/__init__.py

Issue 1410053006: Move third_party/mojo/src/mojo/public to mojo/public (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # -*- coding: utf-8 -*- 1 # -*- coding: utf-8 -*-
2 """ 2 """
3 markupsafe 3 markupsafe
4 ~~~~~~~~~~ 4 ~~~~~~~~~~
5 5
6 Implements a Markup string. 6 Implements a Markup string.
7 7
8 :copyright: (c) 2010 by Armin Ronacher. 8 :copyright: (c) 2010 by Armin Ronacher.
9 :license: BSD, see LICENSE for more details. 9 :license: BSD, see LICENSE for more details.
10 """ 10 """
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 # we have to import it down here as the speedups and native 225 # we have to import it down here as the speedups and native
226 # modules imports the markup type which is define above. 226 # modules imports the markup type which is define above.
227 try: 227 try:
228 from markupsafe._speedups import escape, escape_silent, soft_unicode 228 from markupsafe._speedups import escape, escape_silent, soft_unicode
229 except ImportError: 229 except ImportError:
230 from markupsafe._native import escape, escape_silent, soft_unicode 230 from markupsafe._native import escape, escape_silent, soft_unicode
231 231
232 if not PY2: 232 if not PY2:
233 soft_str = soft_unicode 233 soft_str = soft_unicode
234 __all__.append('soft_str') 234 __all__.append('soft_str')
OLDNEW
« no previous file with comments | « mojo/public/third_party/markupsafe/README.chromium ('k') | mojo/public/third_party/markupsafe/_compat.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698