Browse Source

[PYTHON] Clarify API version comment

Tamir Duberstein 10 years ago
parent
commit
ef1b747a42
1 changed files with 2 additions and 2 deletions
  1. 2 2
      python/google/protobuf/internal/api_implementation.py

+ 2 - 2
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')