diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2017-12-28 21:07:29 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-12-28 21:07:29 +0100 |
| commit | 83a36ac49a98d5d8801ed8428612e9a56aeb8699 (patch) | |
| tree | 192e9bb3f114dad49ffacb17d51a8ecc9faed797 /docs | |
| parent | 058d112ed2635873d415661bdf0fcc8752ec37c9 (diff) | |
Removed unnecessary trailing commas and spaces in various code.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/conf.py | 2 | ||||
| -rw-r--r-- | docs/ref/contrib/flatpages.txt | 2 | ||||
| -rw-r--r-- | docs/ref/contrib/syndication.txt | 2 | ||||
| -rw-r--r-- | docs/topics/auth/customizing.txt | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/docs/conf.py b/docs/conf.py index 3e346fda12..639438a3ac 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -284,7 +284,7 @@ man_pages = [( 'Utility script for the Django Web framework', ['Django Software Foundation'], 1 -), ] +)] # -- Options for Texinfo output ------------------------------------------------ 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``). diff --git a/docs/topics/auth/customizing.txt b/docs/topics/auth/customizing.txt index c9909f5924..ce518b41be 100644 --- a/docs/topics/auth/customizing.txt +++ b/docs/topics/auth/customizing.txt @@ -348,7 +348,7 @@ add it to a ``UserAdmin`` class which is registered with the # Define a new User admin class UserAdmin(BaseUserAdmin): - inlines = (EmployeeInline, ) + inlines = (EmployeeInline,) # Re-register UserAdmin admin.site.unregister(User) |
