diff options
author | Christian Clauss <cclauss@me.com> | 2022-11-06 12:04:25 +0100 |
---|---|---|
committer | James Socol <me@jamessocol.com> | 2022-12-03 18:21:40 -0500 |
commit | 50a9419794380bebc7d9ca51a06b3b8cb54e0e97 (patch) | |
tree | 6d7784f4ec13616199f980b866a1c9e752da30f7 /docs | |
parent | dc1cb87332c0233a1a280df37beee925f40d2f77 (diff) | |
download | pystatsd-50a9419794380bebc7d9ca51a06b3b8cb54e0e97.tar.gz |
pyupgrade: Modernize syntax for Python >= 3.7
Diffstat (limited to 'docs')
-rw-r--r-- | docs/conf.py | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/docs/conf.py b/docs/conf.py index 55aef11..e5141dd 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- -# # Python StatsD documentation build configuration file, created by # sphinx-quickstart on Mon Apr 9 15:47:23 2012. # @@ -11,7 +9,8 @@ # All configuration values have a default; values that are commented out # serve to show the default. -import sys, os +import os +import sys # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the @@ -40,8 +39,8 @@ source_suffix = '.rst' master_doc = 'index' # General information about the project. -project = u'Python StatsD' -copyright = u'2015, James Socol' +project = 'Python StatsD' +copyright = '2015, James Socol' # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the @@ -183,8 +182,8 @@ latex_elements = { # Grouping the document tree into LaTeX files. List of tuples # (source start file, target name, title, author, documentclass [howto/manual]). latex_documents = [ - ('index', 'PythonStatsD.tex', u'Python StatsD Documentation', - u'James Socol', 'manual'), + ('index', 'PythonStatsD.tex', 'Python StatsD Documentation', + 'James Socol', 'manual'), ] # The name of an image file (relative to this directory) to place at the top of @@ -213,8 +212,8 @@ latex_documents = [ # One entry per manual page. List of tuples # (source start file, name, description, authors, manual section). man_pages = [ - ('index', 'pythonstatsd', u'Python StatsD Documentation', - [u'James Socol'], 1) + ('index', 'pythonstatsd', 'Python StatsD Documentation', + ['James Socol'], 1) ] # If true, show URL addresses after external links. @@ -227,8 +226,8 @@ man_pages = [ # (source start file, target name, title, author, # dir menu entry, description, category) texinfo_documents = [ - ('index', 'PythonStatsD', u'Python StatsD Documentation', - u'James Socol', 'PythonStatsD', 'One line description of project.', + ('index', 'PythonStatsD', 'Python StatsD Documentation', + 'James Socol', 'PythonStatsD', 'One line description of project.', 'Miscellaneous'), ] |