Remove object as the only ancestor for classes in Python 3 stubs.

This commit is contained in:
Semyon Proshev
2017-03-17 19:19:12 +03:00
committed by Łukasz Langa
parent efdf2f1b17
commit 4cd137189a
8 changed files with 12 additions and 12 deletions

View File

@@ -19,7 +19,7 @@ def leapdays(y1: int, y2: int) -> int: ...
def weekday(year: int, month: int, day: int) -> int: ...
def monthrange(year: int, month: int) -> Tuple[int, int]: ...
class Calendar(object):
class Calendar:
def __init__(self, firstweekday: int = 0) -> None: ...
def getfirstweekday(self) -> int: ...
def setfirstweekday(self, firstweekday: int) -> None: ...