From 95d6fd3065d73d5d0516a616838177b5a9e91ca3 Mon Sep 17 00:00:00 2001 From: Edward Betts Date: Sun, 4 Mar 2018 09:52:55 +0000 Subject: [PATCH] Correct spelling mistakes. --- feedgen/entry.py | 4 ++-- feedgen/ext/torrent.py | 2 +- feedgen/feed.py | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/feedgen/entry.py b/feedgen/entry.py index d773e17..9bcd133 100644 --- a/feedgen/entry.py +++ b/feedgen/entry.py @@ -301,8 +301,8 @@ class FeedEntry(object): return self.__atom_updated def author(self, author=None, replace=False, **kwargs): - '''Get or set autor data. An author element is a dict containing a - name, an email adress and a uri. Name is mandatory for ATOM, email is + '''Get or set author data. An author element is a dict containing a + name, an email address and a uri. Name is mandatory for ATOM, email is mandatory for RSS. This method can be called with: diff --git a/feedgen/ext/torrent.py b/feedgen/ext/torrent.py index a2eb49c..101f015 100644 --- a/feedgen/ext/torrent.py +++ b/feedgen/ext/torrent.py @@ -24,7 +24,7 @@ class TorrentExtension(BaseExtension): class TorrentEntryExtension(BaseEntryExtension): - '''FeedEntry extention for torrent feeds + '''FeedEntry extension for torrent feeds ''' def __init__(self): self.__torrent_filename = None diff --git a/feedgen/feed.py b/feedgen/feed.py index 6bf55d9..39f8225 100644 --- a/feedgen/feed.py +++ b/feedgen/feed.py @@ -863,8 +863,8 @@ class FeedGenerator(object): for person responsible for editorial content. This is a RSS only value. - :param managingEditor: Email adress of the managing editor. - :returns: Email adress of the managing editor. + :param managingEditor: Email address of the managing editor. + :returns: Email address of the managing editor. ''' if managingEditor is not None: self.__rss_managingEditor = managingEditor @@ -998,7 +998,7 @@ class FeedGenerator(object): def add_entry(self, feedEntry=None): '''This method will add a new entry to the feed. If the feedEntry argument is omittet a new Entry object is created automatically. This - is the prefered way to add new entries to a feed. + is the preferred way to add new entries to a feed. :param feedEntry: FeedEntry object to add. :returns: FeedEntry object created or passed to this function.