From 54a2ef77e66f7bdb79cc50e7bb76929fb43ac1d5 Mon Sep 17 00:00:00 2001 From: Tim Gates Date: Sun, 25 Jul 2021 15:00:11 +1000 Subject: [PATCH] docs: Fix a few typos There are small typos in: - examples/animation/easing/easing.py - examples/itemviews/addressbook/addressbook.py - mobility/messaging/querymessages.py Fixes: - Should read `manageable` rather than `managable`. - Should read `initially` rather than `initally`. - Should read `equivalent` rather than `equivalant`. --- examples/animation/easing/easing.py | 2 +- examples/itemviews/addressbook/addressbook.py | 2 +- mobility/messaging/querymessages.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/animation/easing/easing.py b/examples/animation/easing/easing.py index 18cd87d..39172fc 100755 --- a/examples/animation/easing/easing.py +++ b/examples/animation/easing/easing.py @@ -111,7 +111,7 @@ def createCurveIcons(self): brush = QtGui.QBrush(gradient) # The original C++ code uses undocumented calls to get the names of the - # different curve types. We do the Python equivalant (but without + # different curve types. We do the Python equivalent (but without # cheating) curve_types = [(n, c) for n, c in QtCore.QEasingCurve.__dict__.items() if isinstance(c, QtCore.QEasingCurve.Type) \ diff --git a/examples/itemviews/addressbook/addressbook.py b/examples/itemviews/addressbook/addressbook.py index a3fec1d..f06b952 100755 --- a/examples/itemviews/addressbook/addressbook.py +++ b/examples/itemviews/addressbook/addressbook.py @@ -74,7 +74,7 @@ def createMenus(self): toolMenu.addSeparator() self.removeAction = self.createAction("&Remove Entry", toolMenu, self.addressWidget.removeEntry) - # Disable the edit and remove menu items initally, as there are + # Disable the edit and remove menu items initially, as there are # no items yet. self.editAction.setEnabled(False) self.removeAction.setEnabled(False) diff --git a/mobility/messaging/querymessages.py b/mobility/messaging/querymessages.py index 017d623..0d49454 100644 --- a/mobility/messaging/querymessages.py +++ b/mobility/messaging/querymessages.py @@ -17,7 +17,7 @@ # Acquire a handle to the message manager manager = QMessageManager() -# Find the matching message IDs, limiting our results to a managable number +# Find the matching message IDs, limiting our results to a manageable number matchingIds = manager.queryMessages(filter, sortOrder, 100) n = 0