jenkins-bot has submitted this change and it was merged. (
https://gerrit.wikimedia.org/r/572839 )
Change subject: [docs] Fix typos in page.py
......................................................................
[docs] Fix typos in page.py
Change-Id: I52d60190ebe6a2d1e5cc587dcfb58ce6c5b81aa9
---
M pywikibot/page.py
1 file changed, 3 insertions(+), 3 deletions(-)
Approvals:
Dvorapa: Looks good to me, approved
jenkins-bot: Verified
diff --git a/pywikibot/page.py b/pywikibot/page.py
index b9f4f35..18e41d0 100644
--- a/pywikibot/page.py
+++ b/pywikibot/page.py
@@ -431,7 +431,7 @@
A stable identifier to be used as a key in hash-tables.
This relies on the fact that the string
- representation of an instance can not change after the construction.
+ representation of an instance cannot change after the construction.
"""
return hash(self._cmpkey())
@@ -1118,7 +1118,7 @@
"""
Return the protection types allowed for that page.
- If the page doesn't exists it only returns "create". Otherwise it
+ If the page doesn't exist it only returns "create". Otherwise it
returns all protection types provided by the site, except "create".
It also removes "upload" if that page is not in the File namespace.
@@ -1143,7 +1143,7 @@
return p_types
def has_permission(self, action='edit'):
- """Determine whetherthe page can be modified.
+ """Determine whether the page can be modified.
Return True if the bot has the permission of needed restriction level
for the given action type.
--
To view, visit
https://gerrit.wikimedia.org/r/572839
To unsubscribe, or for help writing mail filters, visit
https://gerrit.wikimedia.org/r/settings
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I52d60190ebe6a2d1e5cc587dcfb58ce6c5b81aa9
Gerrit-Change-Number: 572839
Gerrit-PatchSet: 1
Gerrit-Owner: Matěj Suchánek <matejsuchanek97(a)gmail.com>
Gerrit-Reviewer: Dvorapa <dvorapa(a)seznam.cz>
Gerrit-Reviewer: jenkins-bot (75)