summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2017-12-28 21:07:29 +0100
committerGitHub <noreply@github.com>2017-12-28 21:07:29 +0100
commit83a36ac49a98d5d8801ed8428612e9a56aeb8699 (patch)
tree192e9bb3f114dad49ffacb17d51a8ecc9faed797 /docs/ref
parent058d112ed2635873d415661bdf0fcc8752ec37c9 (diff)
Removed unnecessary trailing commas and spaces in various code.
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/contrib/flatpages.txt2
-rw-r--r--docs/ref/contrib/syndication.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/ref/contrib/flatpages.txt b/docs/ref/contrib/flatpages.txt
index 5d34ad6bea..827473a2a9 100644
--- a/docs/ref/contrib/flatpages.txt
+++ b/docs/ref/contrib/flatpages.txt
@@ -193,7 +193,7 @@ registering a custom ``ModelAdmin`` for ``FlatPage``::
fieldsets = (
(None, {'fields': ('url', 'title', 'content', 'sites')}),
(_('Advanced options'), {
- 'classes': ('collapse', ),
+ 'classes': ('collapse',),
'fields': (
'enable_comments',
'registration_required',
diff --git a/docs/ref/contrib/syndication.txt b/docs/ref/contrib/syndication.txt
index 8fa5965a72..421bceaec1 100644
--- a/docs/ref/contrib/syndication.txt
+++ b/docs/ref/contrib/syndication.txt
@@ -1029,7 +1029,7 @@ attributes. Thus, you can subclass the appropriate feed generator class
.. _georss: http://georss.org/
.. _itunes podcast format: https://www.apple.com/itunes/podcasts/specs.html
-``SyndicationFeed.root_attributes(self, )``
+``SyndicationFeed.root_attributes(self)``
Return a ``dict`` of attributes to add to the root feed element
(``feed``/``channel``).