Skip to content

Commit 48f6531

Browse files
committed
.format tweaks
1 parent 73d2bc5 commit 48f6531

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

docs/conf.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,8 @@ def setup(app):
109109
latex_documents = [
110110
(
111111
'index',
112-
'{0}.tex'.format(about['__package_name__']),
113-
'{0} Documentation'.format(about['__title__']),
112+
'{}.tex'.format(about['__package_name__']),
113+
'{} Documentation'.format(about['__title__']),
114114
about['__author__'],
115115
'manual',
116116
)
@@ -120,7 +120,7 @@ def setup(app):
120120
(
121121
'index',
122122
about['__package_name__'],
123-
'{0} Documentation'.format(about['__title__']),
123+
'{} Documentation'.format(about['__title__']),
124124
about['__author__'],
125125
1,
126126
)
@@ -129,8 +129,8 @@ def setup(app):
129129
texinfo_documents = [
130130
(
131131
'index',
132-
'{0}'.format(about['__package_name__']),
133-
'{0} Documentation'.format(about['__title__']),
132+
'{}'.format(about['__package_name__']),
133+
'{} Documentation'.format(about['__title__']),
134134
about['__author__'],
135135
about['__package_name__'],
136136
about['__description__'],

libtmux/server.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,11 +113,11 @@ def cmd(self, *args, **kwargs):
113113

114114
args = list(args)
115115
if self.socket_name:
116-
args.insert(0, '-L{0}'.format(self.socket_name))
116+
args.insert(0, '-L{}'.format(self.socket_name))
117117
if self.socket_path:
118-
args.insert(0, '-S{0}'.format(self.socket_path))
118+
args.insert(0, '-S{}'.format(self.socket_path))
119119
if self.config_file:
120-
args.insert(0, '-f{0}'.format(self.config_file))
120+
args.insert(0, '-f{}'.format(self.config_file))
121121
if self.colors:
122122
if self.colors == 256:
123123
args.insert(0, '-2')

0 commit comments

Comments
 (0)