Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upDrop support for Python 2.6 #356
Conversation
| @@ -13,7 +13,6 @@ def keys(self, prefix=None): | |||
| if prefix is None: | |||
| return set(keys) | |||
|
|
|||
| # Python 2.6: no set comprehensions | |||
| return set([x for x in keys if x.startswith(prefix)]) | |||
willkg
Nov 6, 2017
Author
Contributor
Oops--meant to convert this to set comprehension syntax. Will do now.
Oops--meant to convert this to set comprehension syntax. Will do now.
|
@gsnedders @jgraham Can someone review this? The changes involve:
|
|
Thank you! |
Fixes #330