summaryrefslogtreecommitdiffstats
path: root/Modules/svmodule.c
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2006-02-20 12:15:26 (GMT)
committerGeorg Brandl <georg@python.org>2006-02-20 12:15:26 (GMT)
commit9c65202f49d0a10367b53c10cb1552b09d985d9c (patch)
tree938e1de657373b98601c215631c7459819548889 /Modules/svmodule.c
parentf07e42c159bd308b1c5691f211faa773be3bbc90 (diff)
downloadcpython-9c65202f49d0a10367b53c10cb1552b09d985d9c.zip
cpython-9c65202f49d0a10367b53c10cb1552b09d985d9c.tar.gz
cpython-9c65202f49d0a10367b53c10cb1552b09d985d9c.tar.bz2
Bug #1323369: document possible values of sys.getwindowsversion()
platform field
Diffstat (limited to 'Modules/svmodule.c')
0 files changed, 0 insertions, 0 deletions
use this file in accordance with the terms and conditions ** contained in the Technology Preview License Agreement accompanying ** this package. ** ** GNU Lesser General Public License Usage ** Alternatively, this file may be used under the terms of the GNU Lesser ** General Public License version 2.1 as published by the Free Software ** Foundation and appearing in the file LICENSE.LGPL included in the ** packaging of this file. Please review the following information to ** ensure the GNU Lesser General Public License version 2.1 requirements ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. ** ** In addition, as a special exception, Nokia gives you certain additional ** rights. These rights are described in the Nokia Qt LGPL Exception ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. ** ** If you have questions regarding the use of this file, please contact ** Nokia at qt-info@nokia.com. ** ** ** ** ** ** ** ** ** $QT_END_LICENSE$ ** ****************************************************************************/ //! [0] QScriptValue object; ... QScriptValueIterator it(object); while (it.hasNext()) { it.next(); qDebug() << it.name() << ": " << it.value().toString(); } //! [0] //! [1] QScriptValue obj = ...; // the object to iterate over while (obj.isObject()) { QScriptValueIterator it(obj); while (it.hasNext()) { it.next(); qDebug() << it.name(); } obj = obj.prototype(); } //! [1] //! [2] while (it.hasNext()) { it.next(); if (it.flags() & QScriptValue::SkipInEnumeration) continue; qDebug() << "found enumerated property:" << it.name(); } //! [2]