Skip to content

Commit

Permalink
fix typos in doc strings (#409)
Browse files Browse the repository at this point in the history
* fix typos in doc strings

* Update CHANGES.rst
  • Loading branch information
tkimnguyen authored and hvelarde committed Aug 14, 2018
1 parent 70e0c43 commit 2626aa4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGES.rst
Expand Up @@ -17,6 +17,9 @@ Bug fixes:
- Removed allow-hosts from base.cfg, so we can use the new pypi warehouse.
Refs https://github.com/plone/plone.api/issues/403
[jaroel]

- fix typos in doc strings
[tkimnguyen]


1.8.4 (2018-04-24)
Expand Down
4 changes: 2 additions & 2 deletions src/plone/api/user.py
Expand Up @@ -154,7 +154,7 @@ def get_users(groupname=None, group=None):
:param group: Group of which to return users.
If set, only return users that are member of this group.
:type group: GroupData object
:returns: All users (optionlly filtered by group)
:returns: All users (optionally filtered by group)
:rtype: List of MemberData objects
:Example: :ref:`user_get_all_users_example`,
:ref:`user_get_groups_users_example`
Expand Down Expand Up @@ -306,7 +306,7 @@ def get_permissions(username=None, user=None, obj=None):

@mutually_exclusive_parameters('username', 'user')
def has_permission(permission, username=None, user=None, obj=None):
"""Check whether this user has the given permssion.
"""Check whether this user has the given permission.
Arguments ``username`` and ``user`` are mutually exclusive. You
can either set one or the other, but not both. if ``username`` and
Expand Down

0 comments on commit 2626aa4

Please sign in to comment.