diff options
author | Tamir Duberstein <tamird@gmail.com> | 2015-04-10 09:45:10 -0400 |
---|---|---|
committer | Tamir Duberstein <tamird@gmail.com> | 2015-04-10 09:46:21 -0400 |
commit | ef1b747a425496a3ec2433a01f2177f8096d0c0b (patch) | |
tree | 1e173913abbefff3fd530104e1512e852fb99379 /python | |
parent | 6003aa1e70f38eab46db51cea884436f0f92b8b2 (diff) | |
download | protobuf-ef1b747a425496a3ec2433a01f2177f8096d0c0b.tar.gz protobuf-ef1b747a425496a3ec2433a01f2177f8096d0c0b.tar.bz2 protobuf-ef1b747a425496a3ec2433a01f2177f8096d0c0b.zip |
[PYTHON] Clarify API version comment
Diffstat (limited to 'python')
-rwxr-xr-x | python/google/protobuf/internal/api_implementation.py | 4 |
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') |