aboutsummaryrefslogtreecommitdiffhomepage
path: root/python/google/protobuf/internal/api_implementation.py
diff options
context:
space:
mode:
authorGravatar Tamir Duberstein <tamird@gmail.com>2015-04-10 09:45:10 -0400
committerGravatar Tamir Duberstein <tamird@gmail.com>2015-04-10 09:46:21 -0400
commitef1b747a425496a3ec2433a01f2177f8096d0c0b (patch)
tree1e173913abbefff3fd530104e1512e852fb99379 /python/google/protobuf/internal/api_implementation.py
parent6003aa1e70f38eab46db51cea884436f0f92b8b2 (diff)
[PYTHON] Clarify API version comment
Diffstat (limited to 'python/google/protobuf/internal/api_implementation.py')
-rwxr-xr-xpython/google/protobuf/internal/api_implementation.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/google/protobuf/internal/api_implementation.py b/python/google/protobuf/internal/api_implementation.py
index 8ba4357c..ffcf7511 100755
--- a/python/google/protobuf/internal/api_implementation.py
+++ b/python/google/protobuf/internal/api_implementation.py
@@ -80,8 +80,8 @@ if _implementation_type != 'python':
# This environment variable can be used to switch between the two
# 'cpp' implementations, overriding the compile-time constants in the
-# _api_implementation module. Right now only 1 and 2 are valid values. Any other
-# value will be ignored.
+# _api_implementation module. Right now only '2' is supported. Any other
+# value will cause an error to be raised.
_implementation_version_str = os.getenv(
'PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION_VERSION', '2')