projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3d91b4
)
bpo-30619: Clarify typing.Union documentation (GH-2326)
author
khyox
<jse.mnl@gmail.com>
Thu, 22 Jun 2017 13:14:57 +0000
(15:14 +0200)
committer
Mariatta
<Mariatta@users.noreply.github.com>
Thu, 22 Jun 2017 13:14:57 +0000
(06:14 -0700)
When a class and its subclass are present, the latter is skipped.
Doc/library/typing.rst
patch
|
blob
|
history
diff --git
a/Doc/library/typing.rst
b/Doc/library/typing.rst
index 1780739ad1dd438fa7eefa6b7cf37057037df77e..1e48fecdbf78a474fb1f3b93766f9011c69707f6 100644
(file)
--- a/
Doc/library/typing.rst
+++ b/
Doc/library/typing.rst
@@
-939,7
+939,7
@@
The module defines the following classes, functions and decorators:
Union[int, str] == Union[str, int]
- * When a class and its subclass are present, the
form
er is skipped, e.g.::
+ * When a class and its subclass are present, the
latt
er is skipped, e.g.::
Union[int, object] == object