Inada Naoki <songofaca...@gmail.com> added the comment:

> Strangely enough, it worked in Python 2.7

It is not strange since dict.keys() in Python 2.7 returns list.

>>> {}.viewkeys() | Ror()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: iteration over non-sequence

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue38538>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to