summaryrefslogtreecommitdiff
path: root/git/refs/head.py
diff options
context:
space:
mode:
authorHugo <hugovk@users.noreply.github.com>2018-03-18 21:33:18 +0200
committerHugo <hugovk@users.noreply.github.com>2018-03-18 22:26:31 +0200
commitac4f7d34f8752ab78949efcaa9f0bd938df33622 (patch)
tree0c7acd1d3c1e0012d26d610c7a9fe81197e28a5e /git/refs/head.py
parent14582df679a011e8c741eb5dcd8126f883e1bc71 (diff)
downloadgitpython-ac4f7d34f8752ab78949efcaa9f0bd938df33622.tar.gz
Rewrite unnecessary dict/list/tuple calls as literals
Diffstat (limited to 'git/refs/head.py')
-rw-r--r--git/refs/head.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/git/refs/head.py b/git/refs/head.py
index 9ad890db..4b0abb06 100644
--- a/git/refs/head.py
+++ b/git/refs/head.py
@@ -20,7 +20,7 @@ class HEAD(SymbolicReference):
HEAD reference."""
_HEAD_NAME = 'HEAD'
_ORIG_HEAD_NAME = 'ORIG_HEAD'
- __slots__ = tuple()
+ __slots__ = ()
def __init__(self, repo, path=_HEAD_NAME):
if path != self._HEAD_NAME: