diff options
| author | Mario Corchero <mariocj89@gmail.com> | 2018-05-20 13:42:30 -0400 | 
|---|---|---|
| committer | Alexander Belopolsky <abalkin@users.noreply.github.com> | 2018-05-20 13:42:30 -0400 | 
| commit | 89a25ce4fdb9c2a1a59d8cbfc498a2614b98e9ae (patch) | |
| tree | 51cf1b417cdeca205fab1c70555ebf2a432bf710 /Lib/_strptime.py | |
| parent | 0c4be82890858f874ff2158b0fcfdb8f261569c0 (diff) | |
| download | cpython-git-89a25ce4fdb9c2a1a59d8cbfc498a2614b98e9ae.tar.gz | |
bpo-33541: Remove unused __pad function (GH-4377)
Function was added with the initial implementation 00efe7e798.
Diffstat (limited to 'Lib/_strptime.py')
| -rw-r--r-- | Lib/_strptime.py | 9 | 
1 files changed, 0 insertions, 9 deletions
| diff --git a/Lib/_strptime.py b/Lib/_strptime.py index c8f2f94e55..f4f3c0b80c 100644 --- a/Lib/_strptime.py +++ b/Lib/_strptime.py @@ -77,15 +77,6 @@ class LocaleTime(object):          if time.tzname != self.tzname or time.daylight != self.daylight:              raise ValueError("timezone changed during initialization") -    def __pad(self, seq, front): -        # Add '' to seq to either the front (is True), else the back. -        seq = list(seq) -        if front: -            seq.insert(0, '') -        else: -            seq.append('') -        return seq -      def __calc_weekday(self):          # Set self.a_weekday and self.f_weekday using the calendar          # module. | 
