diff options
Diffstat (limited to 'tests/scanner/Regress-1.0-Python-expected/Regress.foo_not_a_constructor_new.page')
-rw-r--r-- | tests/scanner/Regress-1.0-Python-expected/Regress.foo_not_a_constructor_new.page | 20 |
1 files changed, 5 insertions, 15 deletions
diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.foo_not_a_constructor_new.page b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_not_a_constructor_new.page index 0f9ba11a..7559bea4 100644 --- a/tests/scanner/Regress-1.0-Python-expected/Regress.foo_not_a_constructor_new.page +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_not_a_constructor_new.page @@ -6,7 +6,6 @@ xmlns:api="http://projectmallard.org/experimental/api/" xmlns:ui="http://projectmallard.org/1.0/ui/"> <info> - <link xref="index" group="function" type="guide"/> <api:function> <api:returns> @@ -14,23 +13,16 @@ </api:returns> <api:name>regress_foo_not_a_constructor_new</api:name> </api:function> - </info> - <title>Index.foo_not_a_constructor_new</title> - -<synopsis><code mime="text/x-python"> + <title>Regress.foo_not_a_constructor_new</title> + <synopsis><code mime="text/x-python"> @returns(Regress.FooObject) def foo_not_a_constructor_new(): # Python wrapper for regress_foo_not_a_constructor_new() -</code></synopsis> - - - <p>This should be scanned as a top-level function, and shouldn't cause + </code></synopsis> + <p>This should be scanned as a top-level function, and shouldn't cause a "Can't find matching type for constructor" warning.</p> - - - - + <terms> <item> <title><code>Returns</code></title> @@ -38,6 +30,4 @@ a "Can't find matching type for constructor" warning.</p> </item> </terms> - - </page> |