Remove mention to internal variables

This commit is contained in:
Lorenzo Bolla
2016-02-24 22:19:25 +00:00
parent ce938b367b
commit 12d348fe67
2 changed files with 6 additions and 13 deletions

View File

@@ -5,12 +5,8 @@ YearType = int
MonthType = int
DayType = int
WeekdayType = int
LocaleType = Tuple[Optional[str], Optional[str]]
_colwidth = ... # type: int
_spacing = ... # type: int
class IllegalMonthError(ValueError):
def __init__(self, month: MonthType) -> None: ...
def __str__(self) -> str: ...
@@ -48,7 +44,7 @@ class TextCalendar(Calendar):
def formatmonthname(self, theyear: YearType, themonth: MonthType, width: int, withyear: bool = ...) -> str: ...
def prmonth(self, theyear: YearType, themonth: MonthType, w: Any=0, l: Any = 0) -> None: ...
def formatmonth(self, theyear: YearType, themonth: MonthType, w: int = 0, l: int = 0) -> str: ...
def formatyear(self, theyear: YearType, w: int=2, l: int=1, c: int = 6, m: int = 3) -> str: ...
def formatyear(self, theyear: YearType, w: int = 2, l: int = 1, c: int = 6, m: int = 3) -> str: ...
def pryear(self, theyear: YearType, w: Any = 0, l: Any = 0, c: Any = 6, m: Any = 3) -> None: ...
class HTMLCalendar(Calendar):
@@ -78,6 +74,6 @@ class LocaleHTMLCalendar(HTMLCalendar):
c = ... # type: TextCalendar
def setfirstweekday(firstweekday: WeekdayType) -> None: ...
def format(cols: int, colwidth: int=_colwidth, spacing: int = _spacing) -> str: ...
def formatstring(cols: int, colwidth: int = _colwidth, spacing: int = _spacing) -> str: ...
def format(cols: int, colwidth: int = ..., spacing: int = ...) -> str: ...
def formatstring(cols: int, colwidth: int = ..., spacing: int = ...) -> str: ...
def timegm(tuple: Tuple[int]) -> int: ...

View File

@@ -8,9 +8,6 @@ WeekdayType = int
LocaleType = Tuple[Optional[str], Optional[str]]
_colwidth = ... # type: int
_spacing = ... # type: int
class IllegalMonthError(ValueError):
def __init__(self, month: MonthType) -> None: ...
def __str__(self) -> str: ...
@@ -48,7 +45,7 @@ class TextCalendar(Calendar):
def formatmonthname(self, theyear: YearType, themonth: MonthType, width: int, withyear: bool = ...) -> str: ...
def prmonth(self, theyear: YearType, themonth: MonthType, w: Any=0, l: Any = 0) -> None: ...
def formatmonth(self, theyear: YearType, themonth: MonthType, w: int = 0, l: int = 0) -> str: ...
def formatyear(self, theyear: YearType, w: int=2, l: int=1, c: int = 6, m: int = 3) -> str: ...
def formatyear(self, theyear: YearType, w: int = 2, l: int = 1, c: int = 6, m: int = 3) -> str: ...
def pryear(self, theyear: YearType, w: Any = 0, l: Any = 0, c: Any = 6, m: Any = 3) -> None: ...
class HTMLCalendar(Calendar):
@@ -78,6 +75,6 @@ class LocaleHTMLCalendar(HTMLCalendar):
c = ... # type: TextCalendar
def setfirstweekday(firstweekday: WeekdayType) -> None: ...
def format(cols: int, colwidth: int=_colwidth, spacing: int = _spacing) -> str: ...
def formatstring(cols: int, colwidth: int = _colwidth, spacing: int = _spacing) -> str: ...
def format(cols: int, colwidth: int = ..., spacing: int = ...) -> str: ...
def formatstring(cols: int, colwidth: int = ..., spacing: int = ...) -> str: ...
def timegm(tuple: Tuple[int]) -> int: ...