Skip to content

adapt to python changes#27

Open
yogo1212 wants to merge 2 commits into
AutomationWithAnsible:masterfrom
yogo1212:stuff
Open

adapt to python changes#27
yogo1212 wants to merge 2 commits into
AutomationWithAnsible:masterfrom
yogo1212:stuff

Conversation

@yogo1212
Copy link
Copy Markdown
Contributor

No description provided.

@ahelal
Copy link
Copy Markdown
Member

ahelal commented Jan 21, 2019

Hey @yogo1212
Sorry I must of missed this.

is this backward compatible with 2.7 ?

@yogo1212
Copy link
Copy Markdown
Contributor Author

yogo1212 commented Jan 21, 2019

@ahelal in 2.7, items() will copy the values (slower) but should be functionally compatible, otherwise.
https://docs.python.org/2.7/library/stdtypes.html#dict.items
https://docs.python.org/3/library/stdtypes.html#dict.items

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants