Kaydet (Commit) 89a25ce4 authored tarafından Mario Corchero's avatar Mario Corchero Kaydeden (comit) Alexander Belopolsky

bpo-33541: Remove unused __pad function (GH-4377)

Function was added with the initial implementation 00efe7e7.
üst 0c4be828
......@@ -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.
......
Remove unused private method ``_strptime.LocaleTime.__pad`` (a.k.a.
``_LocaleTime__pad``).
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment