Merge changes from github.
PiperOrigin-RevId: 170265465
diff --git a/README.md b/README.md
index 42c7213..478a889 100644
--- a/README.md
+++ b/README.md
@@ -32,7 +32,7 @@
To run Abseil tests, we use [bazel](https://bazel.build/):
```bash
-bazel absl/...
+bazel test absl/...
```
### Example Code
diff --git a/absl/flags/_helpers.py b/absl/flags/_helpers.py
index 7bd5fac..a373418 100644
--- a/absl/flags/_helpers.py
+++ b/absl/flags/_helpers.py
@@ -35,6 +35,7 @@
termios = None
import six
+from six.moves import range # pylint: disable=redefined-builtin
_DEFAULT_HELP_WIDTH = 80 # Default width of help output.
@@ -116,8 +117,7 @@
Raises:
AssertionError: Raised when no calling module could be identified.
"""
- range_func = range if sys.version_info[0] >= 3 else xrange
- for depth in range_func(1, sys.getrecursionlimit()):
+ for depth in range(1, sys.getrecursionlimit()):
# sys._getframe is the right thing to use here, as it's the best
# way to walk up the call stack.
globals_for_frame = sys._getframe(depth).f_globals # pylint: disable=protected-access