Fix a few typos.

deprected → deprecated
instanciate → instantiate
repostiory → repository
ressource → resource
This commit is contained in:
Unit 193 2018-07-04 03:29:15 -04:00
parent e3a3d053d4
commit 9da6b17ca2
4 changed files with 6 additions and 6 deletions

View file

@ -16,7 +16,7 @@
Create a Feed
-------------
To create a feed simply instanciate the FeedGenerator class and insert some
To create a feed simply instantiate the FeedGenerator class and insert some
data::
>>> from feedgen.feed import FeedGenerator

View file

@ -582,10 +582,10 @@ class FeedEntry(object):
was published. This method is just another name for the published(...)
method.
pubdate() is deprected and may be removed in feedgen 0.8. Use
pubdate() is deprecated and may be removed in feedgen 0.8. Use
pubDate() instead.
'''
warnings.warn('pubdate(…) is deprected and may be removed in feedgen '
warnings.warn('pubdate(…) is deprecated and may be removed in feedgen '
'≥ 0.8. Use pubDate(…) instead.')
return self.published(pubDate)

View file

@ -265,7 +265,7 @@ class DcBaseExtension(BaseExtension):
return self._dcelem_publisher
def dc_relation(self, relation=None, replace=False):
'''Get or set the dc:relation which describes a related ressource.
'''Get or set the dc:relation which describes a related resource.
For more information see:
http://dublincore.org/documents/dcmi-terms/#elements-relation

View file

@ -32,7 +32,7 @@ Installation
**Prebuild packages**
If you are running Fedora Linux, RedHat Enterprise Linux, CentOS or Scientific
Linux you can use the RPM Copr repostiory:
Linux you can use the RPM Copr repository:
http://copr.fedoraproject.org/coprs/lkiesow/python-feedgen/
@ -56,7 +56,7 @@ You can also use pip to install the feedgen module. Simply run::
Create a Feed
-------------
To create a feed simply instanciate the FeedGenerator class and insert some
To create a feed simply instantiate the FeedGenerator class and insert some
data::
>>> from feedgen.feed import FeedGenerator