Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dict comprehension not available in Python 2.6 #5018

Closed
pabra opened this issue Nov 6, 2017 · 1 comment
Closed

dict comprehension not available in Python 2.6 #5018

pabra opened this issue Nov 6, 2017 · 1 comment

Comments

@pabra
Copy link

pabra commented Nov 6, 2017

return {k: size[k] for k in ('width', 'height')}

return {k: position[k] for k in ('x', 'y')}

see the PEP:
https://www.python.org/dev/peps/pep-0274/

pabra added a commit to pabra/selenium that referenced this issue Nov 6, 2017
@AutomatedTester
Copy link
Member

As mentioned in the PR, 2.6. is not supported.

@lock lock bot locked and limited conversation to collaborators Aug 17, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants