10000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30b509a commit 7b3e462Copy full SHA for 7b3e462
github3/utils.py
@@ -34,19 +34,19 @@ class UTC(tzinfo):
34
"""Yet another UTC reimplementation, to avoid a dependency on pytz or
35
dateutil."""
36
37
- _ZERO = timedelta(0)
+ ZERO = timedelta(0)
38
39
def __repr__(self):
40
return 'UTC()'
41
42
def dst(self, dt):
43
- return self._ZERO
+ return self.ZERO
44
45
def tzname(self, dt):
46
return 'UTC'
47
48
def utcoffset(self, dt):
49
50
51
52
def stream_response_to_file(response, path=None):
0 commit comments