Skip to content

Commit cbad456

Browse files
anandoleecopybara-github
authored andcommitted
Remove internal/api_implementation.Version()
api_implementation.Version() is not useful which returns a constant 2. PiperOrigin-RevId: 755591977
1 parent a461362 commit cbad456

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

python/google/protobuf/internal/api_implementation.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -131,12 +131,6 @@ def Type():
131131
return _implementation_type
132132

133133

134-
# See comment on 'Type' above.
135-
# TODO: Remove the API, it returns a constant. b/228102101
136-
def Version():
137-
return 2
138-
139-
140134
# For internal use only
141135
def IsPythonDefaultSerializationDeterministic():
142136
return _python_deterministic_proto_serialization

0 commit comments

Comments
 (0)