diff --git a/stdlib/2and3/uuid.pyi b/stdlib/2and3/uuid.pyi index 19b807edc..09f799bcf 100644 --- a/stdlib/2and3/uuid.pyi +++ b/stdlib/2and3/uuid.pyi @@ -94,7 +94,7 @@ class UUID: def get_version(self) -> Optional[_Int]: ... def __cmp__(self, other: Any) -> _Int: ... -def getnode(*, getters: None = ...) -> int: ... # getters is undocumented (and unused) +def getnode() -> int: ... def uuid1(node: Optional[_Int] = ..., clock_seq: Optional[_Int] = ...) -> UUID: ... def uuid3(namespace: UUID, name: str) -> UUID: ... def uuid4() -> UUID: ... diff --git a/tests/stubtest_whitelists/py35.txt b/tests/stubtest_whitelists/py35.txt index 0d7e78ee9..fb106969d 100644 --- a/tests/stubtest_whitelists/py35.txt +++ b/tests/stubtest_whitelists/py35.txt @@ -75,7 +75,6 @@ typing.Sequence.index typing.runtime_checkable unittest.async_case uuid.UUID.int -uuid.getnode xml.etree.cElementTree.XMLPullParser xml.parsers.expat.XMLParserType.ExternalEntityParserCreate zipfile.ZipFile.open diff --git a/tests/stubtest_whitelists/py36.txt b/tests/stubtest_whitelists/py36.txt index 2b2f8f5e9..7a5d18c2e 100644 --- a/tests/stubtest_whitelists/py36.txt +++ b/tests/stubtest_whitelists/py36.txt @@ -74,6 +74,5 @@ unittest.async_case urllib.parse.parse_qs urllib.parse.parse_qsl uuid.UUID.int -uuid.getnode webbrowser.Opera.raise_opts xml.parsers.expat.XMLParserType.ExternalEntityParserCreate diff --git a/tests/stubtest_whitelists/py37.txt b/tests/stubtest_whitelists/py37.txt index 3da982868..b6196ea3f 100644 --- a/tests/stubtest_whitelists/py37.txt +++ b/tests/stubtest_whitelists/py37.txt @@ -70,5 +70,6 @@ urllib.parse.parse_qs urllib.parse.parse_qsl uuid.UUID.int uuid.UUID.is_safe +uuid.getnode # undocumented, unused parameter getters that was later removed webbrowser.Opera.raise_opts xml.parsers.expat.XMLParserType.ExternalEntityParserCreate diff --git a/tests/stubtest_whitelists/py38.txt b/tests/stubtest_whitelists/py38.txt index 7dd11a8e5..de0243b30 100644 --- a/tests/stubtest_whitelists/py38.txt +++ b/tests/stubtest_whitelists/py38.txt @@ -149,6 +149,7 @@ types.WrapperDescriptorType.__get__ unittest.TestCase.addCleanup unittest.case.TestCase.addCleanup unittest.doModuleCleanups +uuid.getnode # undocumented, unused parameter getters that was later removed weakref.WeakValueDictionary.__init__ weakref.WeakValueDictionary.update weakref.getweakrefcount