diff options
author | Adam Turner <9087854+aa-turner@users.noreply.github.com> | 2022-10-17 15:54:59 +0100 |
---|---|---|
committer | Adam Turner <9087854+aa-turner@users.noreply.github.com> | 2022-10-17 22:39:09 +0100 |
commit | 920828fe351b9e542206749e2ddf04a2cd17a6f3 (patch) | |
tree | b3243d53e128a1fa5b40247b98b0c987ea5adbaf /sphinx/cmd/quickstart.py | |
parent | b277abcb49d2c6d248518ea30a179cb52175d600 (diff) | |
download | sphinx-git-920828fe351b9e542206749e2ddf04a2cd17a6f3.tar.gz |
Run the ``pyupgrade`` tool
Diffstat (limited to 'sphinx/cmd/quickstart.py')
-rw-r--r-- | sphinx/cmd/quickstart.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/cmd/quickstart.py b/sphinx/cmd/quickstart.py index 9cfd670a9..183b6e15e 100644 --- a/sphinx/cmd/quickstart.py +++ b/sphinx/cmd/quickstart.py @@ -364,7 +364,7 @@ def generate( if overwrite or not path.isfile(fpath): if 'quiet' not in d: print(__('Creating file %s.') % fpath) - with open(fpath, 'wt', encoding='utf-8', newline=newline) as f: + with open(fpath, 'w', encoding='utf-8', newline=newline) as f: f.write(content) else: if 'quiet' not in d: |