Skip to content

Add missing explicit Optional to stubs for the xml.etree package. - #2734

Merged
srittau merged 2 commits into
python:masterfrom
mrshannon:fix_issue_2733
Jan 17, 2019
Merged

srittau merged 2 commits into
python:masterfrom
mrshannon:fix_issue_2733

Conversation

@mrshannon

Copy link
Copy Markdown
Contributor

This fixes #2733 as well as making Optional explicit for the rest of the xml.etree package as per the guidelines on implicit vs. explicit Optional for None defaults.

@srittau srittau left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@srittau
srittau merged commit a2ecfaf into python:master Jan 17, 2019
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.

Lack of explicit Optional in xml.etree.ElementTree.

2 participants