[go: nahoru, domu]

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

Prettify Union in docs (Union[A, B]A, B) #379

Closed
flying-sheep opened this issue Nov 27, 2018 · 3 comments
Closed

Prettify Union in docs (Union[A, B]A, B) #379

flying-sheep opened this issue Nov 27, 2018 · 3 comments

Comments

@flying-sheep
Copy link
Member

Part of #373

@falexwolf
Copy link
Member

Cool!

@flying-sheep
Copy link
Member Author
flying-sheep commented Nov 30, 2018

Fixed in bc1cbce. That was easy.

Only problem: When a Union now appears inside of other things (e.g. Tuple[X, Union[A,B]]), this will look wrong. (I.e. Tuple[X, A, B])

Any ideas?

@falexwolf
Copy link
Member

Thank you! Let me go through a few examples for the more tricky cases. We'll find a solution.

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

No branches or pull requests

2 participants