jenkins-bot merged this change.

View Change

Approvals: Dvorapa: Looks good to me, approved jenkins-bot: Verified
[docs] Fix typos in page.py

Change-Id: I52d60190ebe6a2d1e5cc587dcfb58ce6c5b81aa9
---
M pywikibot/page.py
1 file changed, 3 insertions(+), 3 deletions(-)

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 change 572839. To unsubscribe, or for help writing mail filters, visit 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@gmail.com>
Gerrit-Reviewer: Dvorapa <dvorapa@seznam.cz>
Gerrit-Reviewer: jenkins-bot (75)