[Python-checkins] bpo-39559: Remove unused, undocumented argument from uuid.getnode (GH-18369)

Shantanu webhook-mailer at python.org
Wed Feb 5 15:43:19 EST 2020


https://github.com/python/cpython/commit/8b6f6526f857bb7523b0fcff09b45bc6471289e9
commit: 8b6f6526f857bb7523b0fcff09b45bc6471289e9
branch: master
author: Shantanu <hauntsaninja at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2020年02月05日T22:43:09+02:00
summary:
bpo-39559: Remove unused, undocumented argument from uuid.getnode (GH-18369)
files:
A Misc/NEWS.d/next/Library/2020-02-05-18-29-14.bpo-39559.L8i5YB.rst
M Lib/uuid.py
diff --git a/Lib/uuid.py b/Lib/uuid.py
index 6a436d371a3fd..224a766ff2297 100644
--- a/Lib/uuid.py
+++ b/Lib/uuid.py
@@ -757,7 +757,7 @@ def _random_getnode():
 
 _node = None
 
-def getnode(*, getters=None):
+def getnode():
 """Get the hardware address as a 48-bit positive integer.
 
 The first time this runs, it may launch a separate program, which could
diff --git a/Misc/NEWS.d/next/Library/2020-02-05-18-29-14.bpo-39559.L8i5YB.rst b/Misc/NEWS.d/next/Library/2020-02-05-18-29-14.bpo-39559.L8i5YB.rst
new file mode 100644
index 0000000000000..881f26bdb7bac
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2020-02-05-18-29-14.bpo-39559.L8i5YB.rst
@@ -0,0 +1 @@
+Remove unused, undocumented argument ``getters`` from :func:`uuid.getnode`
\ No newline at end of file


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /