Skip to content

Commit

Permalink
Remove _SetType from python api_implementation.py
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 492000386
  • Loading branch information
anandolee authored and copybara-github committed Nov 30, 2022
1 parent 3d3bebf commit 24743cd
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions python/google/protobuf/internal/api_implementation.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,12 +152,6 @@ def Type():
return _implementation_type


def _SetType(implementation_type):
"""Never use! Only for protobuf benchmark."""
global _implementation_type
_implementation_type = implementation_type


# See comment on 'Type' above.
# TODO(jieluo): Remove the API, it returns a constant. b/228102101
def Version():
Expand Down

0 comments on commit 24743cd

Please sign in to comment.