diff options
author | Bruno Haible <bruno@clisp.org> | 2022-07-29 18:45:33 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2022-07-29 18:45:33 +0200 |
commit | 0bc144f96608c17963d021468f278a8d0c577894 (patch) | |
tree | 8463639f632892047246ccd40f7825555320b721 /pygnulib/GLMakefileTable.py | |
parent | 3e44e3bb0c1a91faa5b31b257c9f32fb752f8c2d (diff) | |
download | gnulib-0bc144f96608c17963d021468f278a8d0c577894.tar.gz |
gnulib-tool.py: Modernize coding style.
* pygnulib/*.py: Remove parentheses around return value expressions.
Diffstat (limited to 'pygnulib/GLMakefileTable.py')
-rw-r--r-- | pygnulib/GLMakefileTable.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pygnulib/GLMakefileTable.py b/pygnulib/GLMakefileTable.py index 00050b2723..cff9ff34f9 100644 --- a/pygnulib/GLMakefileTable.py +++ b/pygnulib/GLMakefileTable.py @@ -82,7 +82,7 @@ class GLMakefileTable(object): raise(TypeError('indices must be integers, not %s' % type(y).__name__)) result = self.table[y] - return(dict(result)) + return dict(result) def editor(self, dir, var, val): '''GLMakefileTable.editor(dir, var, val) @@ -140,4 +140,4 @@ class GLMakefileTable(object): '''GLMakefileTable.count() -> int Count number of edits which were applied.''' - return(len(self.table)) + return len(self.table) |