[PATCH] D56250: python compat - iterator protocol

Michael Platings via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 3 07:00:44 PST 2019


michaelplatings requested changes to this revision.
michaelplatings added inline comments.
This revision now requires changes to proceed.


================
Comment at: utils/gdb-scripts/prettyprinters.py:185
 
-    __next__ = next
+    if sys.version_info.makor == 2:
+        next = __next__
----------------
makor -> major


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D56250/new/

https://reviews.llvm.org/D56250





More information about the llvm-commits mailing list