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

Side by Side Diff: third_party/google-endpoints/builtins/__init__.py

Issue 2666783008: Add google-endpoints to third_party/. (Closed)
Patch Set: Created 3 years, 10 months 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
(Empty)
1 from __future__ import absolute_import
2 import sys
3 __future_module__ = True
4
5 if sys.version_info[0] < 3:
6 from __builtin__ import *
7 # Overwrite any old definitions with the equivalent future.builtins ones:
8 from future.builtins import *
9 else:
10 raise ImportError('This package should not be accessible on Python 3. '
11 'Either you are trying to run from the python-future src f older '
12 'or your installation of python-future is corrupted.')
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698