Closed lucaswiman closed 2 years ago
Now that support for python 2 has been dropped in https://github.com/erikrose/parsimonious/commit/e9290561d88f81fea256caba6b7dae3ef52f56f7 by @lonnen, Python 2 compatibility code can be removed. This includes all usages of six. six.iter{keys,items,values} can be replaced with the ordinary dict methods, six.text_type can be replaced by str, and most of the other imports can just be removed. See https://github.com/erikrose/parsimonious/pull/89/files for places where they were originally added.
six.iter{keys,items,values}
six.text_type
str
this PR should resolve things: https://github.com/erikrose/parsimonious/pull/194
resolved
Now that support for python 2 has been dropped in https://github.com/erikrose/parsimonious/commit/e9290561d88f81fea256caba6b7dae3ef52f56f7 by @lonnen, Python 2 compatibility code can be removed. This includes all usages of six.
six.iter{keys,items,values}
can be replaced with the ordinary dict methods,six.text_type
can be replaced bystr
, and most of the other imports can just be removed. See https://github.com/erikrose/parsimonious/pull/89/files for places where they were originally added.