diff options
author | Hugo Parente Lima <hugo.pl@gmail.com> | 2011-07-20 15:45:25 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2012-03-08 16:54:37 -0300 |
commit | b166a72ccf8b7b9c6bc93ee0977892a556148f6e (patch) | |
tree | 3f0b8cc30364ed6f73842f8d761168d6e7bd5bf9 /doc | |
parent | e37426c8c4a1f041c2f4b9c0f560751aa4b9a924 (diff) |
Fix bug 916 - "Missing info about when is possible to use keyword arguments in docs [was: QListWidgetItem's constructor ignores text parameter]"
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/_templates/index.html | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/doc/_templates/index.html b/doc/_templates/index.html index fc1b20800..ee63b17f6 100644 --- a/doc/_templates/index.html +++ b/doc/_templates/index.html @@ -11,11 +11,17 @@ <p>PySide is built using the <a href="http://www.pyside.org/docs/shiboken">Shiboken</a> binding generator.</p> - <h2>Modules</h2> + <h2>Notes</h2> + + <h3>About 0 vs None</h3> + + <p>The PySide class reference documentation is automatically generated from the original Qt documentation for C++, some parts were tuned to fit the Python world, however is not possible to rewrite all Qt docs as it would require a really huge effort, so if the documentation says you can use 0 on an QObject argument, interpret it as None.</p> - <div class="admonition warning"> - <strong>Note:</strong> The PySide class reference documentation is automatically generated from the original Qt documentation for C++, some parts were tuned to fit the Python world, however is not possible to rewrite all Qt docs as it would require a really huge effort, so if the documentation says you can use 0 on an QObject argument, interpret it as None. - </div> + <h3>About keyword arguments</h3> + + <p>Only optional arguments can be used as keyword arguments.</p> + + <h2>Modules</h2> <table class="contentstable" align="center" ><tr> <td width="50%"> |