We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e25542c commit 6aca068Copy full SHA for 6aca068
src/etc/gdb_rust_pretty_printing.py
@@ -16,7 +16,7 @@
16
# We want a version of `range` which doesn't allocate an intermediate list,
17
# specifically it should use a lazy iterator. In Python 2 this was `xrange`, but
18
# if we're running with Python 3 then we need to use `range` instead.
19
-if sys.version_info.major >= 3:
+if sys.version_info[0] >= 3:
20
xrange = range
21
22
#===============================================================================
0 commit comments