[Python-checkins] cpython (3.5): Silence another "default role used" warning in typing.rst

berker.peksag python-checkins at python.org
Fri Jul 29 20:47:37 EDT 2016


https://hg.python.org/cpython/rev/57066dbf3d94
changeset: 102489:57066dbf3d94
branch: 3.5
parent: 102486:4ecea1ea11bf
user: Berker Peksag <berker.peksag at gmail.com>
date: Sat Jul 30 03:47:52 2016 +0300
summary:
 Silence another "default role used" warning in typing.rst
This should make ware-docs green again.
files:
 Doc/library/typing.rst | 2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst
--- a/Doc/library/typing.rst
+++ b/Doc/library/typing.rst
@@ -86,7 +86,7 @@
 ``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
-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /