From 89a25ce4fdb9c2a1a59d8cbfc498a2614b98e9ae Mon Sep 17 00:00:00 2001 From: Mario Corchero Date: Sun, 20 May 2018 13:42:30 -0400 Subject: bpo-33541: Remove unused __pad function (GH-4377) Function was added with the initial implementation 00efe7e798. --- Lib/_strptime.py | 9 --------- 1 file changed, 9 deletions(-) (limited to 'Lib/_strptime.py') 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. -- cgit v1.2.1