[PYTHON] Clarify API version comment

pull/276/head
Tamir Duberstein 10 years ago
parent 6003aa1e70
commit ef1b747a42
  1. 4
      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')

Loading…
Cancel
Save