Moved syslog from 2/ to 2and3/. Allow both forms of syslog.syslog. (#884)

This commit is contained in:
Matt Kimball
2017-01-29 20:19:13 -08:00
committed by Guido van Rossum
parent a9bb7f89d3
commit bb5ba13315

View File

@@ -1,3 +1,5 @@
from typing import overload
LOG_ALERT = ... # type: int
LOG_AUTH = ... # type: int
LOG_CONS = ... # type: int
@@ -35,4 +37,8 @@ def LOG_UPTO(a: int) -> int: ...
def closelog() -> None: ...
def openlog(ident: str = ..., logoption: int = ..., facility: int = ...) -> None: ...
def setlogmask(x: int) -> int: ...
@overload
def syslog(priority: int, message: str) -> None: ...
@overload
def syslog(message: str) -> None: ...