10000 Drop leading underscore from UTC._ZERO · davidmoss/github3.py@7b3e462 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7b3e462

Browse files
committed
Drop leading underscore from UTC._ZERO
1 parent 30b509a commit 7b3e462

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

github3/utils.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,19 +34,19 @@ class UTC(tzinfo):
3434
"""Yet another UTC reimplementation, to avoid a dependency on pytz or
3535
dateutil."""
3636

37-
_ZERO = timedelta(0)
37+
ZERO = timedelta(0)
3838

3939
def __repr__(self):
4040
return 'UTC()'
4141

4242
def dst(self, dt):
43-
return self._ZERO
43+
return self.ZERO
4444

4545
def tzname(self, dt):
4646
return 'UTC'
4747

4848
def utcoffset(self, dt):
49-
return self._ZERO
49+
return self.ZERO
5050

5151

5252
def stream_response_to_file(response, path=None):

0 commit comments

Comments
 (0)
0