Skip to content

Make public and document GenericMeta - #340

Merged
gvanrossum merged 2 commits into
python:masterfrom
ilevkivskyi:public-genericmeta
Jan 18, 2017
Merged

gvanrossum merged 2 commits into
python:masterfrom
ilevkivskyi:public-genericmeta

Conversation

@ilevkivskyi

Copy link
Copy Markdown
Member

Fixes #335

I added GenericMeta to __all__ and added docstrings to GenericMeta and GenericMeta.__new__ following the discussion in the issue.
I decided not to describe __origin__ and friends in docstrings. Instead, I just added a comment at the place where they are first used.

@gvanrossum

Copy link
Copy Markdown
Member

Harmless though this is I think it's also not critical to get it into 3.6.0. People who want it can use from typing import GenericMeta, which works regardless.

@gvanrossum
gvanrossum merged commit 093ad88 into python:master Jan 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants