Skip to content

Commit

Permalink
Typos in some docstrings.
Browse files Browse the repository at this point in the history
  • Loading branch information
BertrandBordage committed Dec 7, 2014
1 parent 98a3db4 commit abee1be
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions cachalot/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ def invalidate_tables(tables, cache_alias=None, db_alias=None):
:arg tables: SQL tables names
:type tables: iterable of strings
:arg cache_alias: Alias from the Django ``CACHES`` setting
:type cache_alias: string or None
:type cache_alias: string or NoneType
:arg db_alias: Alias from the Django ``DATABASES`` setting
:type db_alias: string or None
:type db_alias: string or NoneType
:returns: Nothing
:rtype: NoneType
"""
Expand All @@ -49,9 +49,9 @@ def invalidate_models(models, cache_alias=None, db_alias=None):
:arg models: Django models
:type models: iterable of ``django.db.models.Model`` subclasses
:arg cache_alias: Alias from the Django ``CACHES`` setting
:type cache_alias: string or None
:type cache_alias: string or NoneType
:arg db_alias: Alias from the Django ``DATABASES`` setting
:type db_alias: string or None
:type db_alias: string or NoneType
:returns: Nothing
:rtype: NoneType
"""
Expand All @@ -71,9 +71,9 @@ def invalidate_all(cache_alias=None, db_alias=None):
on this database, otherwise queries from all databases are cleared.
:arg cache_alias: Alias from the Django ``CACHES`` setting
:type cache_alias: string or None
:type cache_alias: string or NoneType
:arg db_alias: Alias from the Django ``DATABASES`` setting
:type cache_alias: string or None
:type cache_alias: string or NoneType
:returns: Nothing
:rtype: NoneType
"""
Expand Down

0 comments on commit abee1be

Please sign in to comment.