projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c301cbf
)
Silence another "default role used" warning in typing.rst
author
Berker Peksag
<berker.peksag@gmail.com>
Sat, 30 Jul 2016 00:47:52 +0000
(
03:47
+0300)
committer
Berker Peksag
<berker.peksag@gmail.com>
Sat, 30 Jul 2016 00:47:52 +0000
(
03:47
+0300)
This should make ware-docs green again.
Doc/library/typing.rst
patch
|
blob
|
history
diff --git
a/Doc/library/typing.rst
b/Doc/library/typing.rst
index 6993b316cf455a8c46872ac1036be6e347c0d0f6..d797aeca5a0959636fa9cd9ba43eff3ffd2fb9c8 100644
(file)
--- a/
Doc/library/typing.rst
+++ b/
Doc/library/typing.rst
@@
-86,7
+86,7
@@
but the result will always be of type ``int``. This lets you pass in a
``UserId`` wherever an ``int`` might be expected, but will prevent you from
accidentally creating a ``UserId`` in an invalid way::
- #
`output` is of type `int`, not `UserId`
+ #
'output' is of type 'int', not 'UserId'
output = UserId(23413) + UserId(54341)
Note that these checks are enforced only by the static type checker. At runtime