Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

Commit

Permalink
Add new API names:
Browse files Browse the repository at this point in the history
DEFINE_multi_string
DEFINE_multi_integer

The old APIs were renamed in github.com/abseil/abseil-py.

This is to make the transition from python-gflags to absl-py easier.
  • Loading branch information
yilei committed Oct 16, 2017
1 parent 821ff8f commit 950aaae
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions gflags/__init__.py
Expand Up @@ -898,3 +898,7 @@ def value(self, value):
declare_key_flag = DECLARE_key_flag
adopt_module_key_flags = ADOPT_module_key_flags
disclaim_key_flags = DISCLAIM_key_flags

# New API names, they are more consistent with each other.
DEFINE_multi_string = DEFINE_multistring
DEFINE_multi_integer = DEFINE_multi_int

0 comments on commit 950aaae

Please sign in to comment.