diff --git a/stdlib/2and3/plistlib.pyi b/stdlib/2and3/plistlib.pyi index 86e95df11..279019959 100644 --- a/stdlib/2and3/plistlib.pyi +++ b/stdlib/2and3/plistlib.pyi @@ -37,14 +37,13 @@ def writePlist(value: Mapping[str, Any], pathOrFile: Union[_Path, IO[bytes]]) -> def readPlistFromBytes(data: bytes) -> DictT[str, Any]: ... def writePlistToBytes(value: Mapping[str, Any]) -> bytes: ... if sys.version_info < (3,): - if sys.platform == 'darwin': - def readPlistFromResource(path: _Path, restype: str = ..., - resid: int = ...) -> DictT[str, Any]: ... - def writePlistToResource(rootObject: Mapping[str, Any], path: _Path, - restype: str = ..., - resid: int = ...) -> None: ... - def readPlistFromString(data: str) -> DictT[str, Any]: ... - def writePlistToString(rootObject: Mapping[str, Any]) -> str: ... + def readPlistFromResource(path: _Path, restype: str = ..., + resid: int = ...) -> DictT[str, Any]: ... + def writePlistToResource(rootObject: Mapping[str, Any], path: _Path, + restype: str = ..., + resid: int = ...) -> None: ... + def readPlistFromString(data: str) -> DictT[str, Any]: ... + def writePlistToString(rootObject: Mapping[str, Any]) -> str: ... if sys.version_info >= (3,): class Dict(dict):