chiark / gitweb /
documentation/python: minor clarification in a test.
authorVladimír Vondruš <mosra@centrum.cz>
Sun, 14 Jul 2019 11:59:28 +0000 (13:59 +0200)
committerVladimír Vondruš <mosra@centrum.cz>
Sun, 14 Jul 2019 17:11:08 +0000 (19:11 +0200)
documentation/test_python/inspect_annotations/inspect_annotations.html
documentation/test_python/inspect_annotations/inspect_annotations.py

index 070c54910a65c95ec3964587403f68e72c26a7f1..151ed4007dabaeaa5e217a80ef7a262d96eb2535 100644 (file)
@@ -78,7 +78,7 @@
               another,
               third = &#x27;hello&#x27;)</span>
             </dt>
-            <dd>Non-annotated function</dd>
+            <dd>Non-annotated function with a default parameter</dd>
             <dt>
               <span class="m-doc-wrap-bumper">def <a href="#partial_annotation" class="m-doc-self" id="partial_annotation">partial_annotation</a>(</span><span class="m-doc-wrap">foo,
               param: typing.Tuple[int, int],
index bde1f3e934ac04ab083d910dcc3defedb2b33eba..330628a1bf3b920eb761ca96675d64749f0a5091 100644 (file)
@@ -23,7 +23,7 @@ def no_annotation(a, b, z):
     pass
 
 def no_annotation_default_param(param, another, third = "hello"):
-    """Non-annotated function"""
+    """Non-annotated function with a default parameter"""
     pass
 
 def partial_annotation(foo, param: Tuple[int, int], unannotated, cls: Foo):