From 8b6f6526f857bb7523b0fcff09b45bc6471289e9 Mon Sep 17 00:00:00 2001 From: Shantanu Date: Wed, 5 Feb 2020 12:43:09 -0800 Subject: [PATCH] bpo-39559: Remove unused, undocumented argument from uuid.getnode (GH-18369) --- Lib/uuid.py | 2 +- .../next/Library/2020-02-05-18-29-14.bpo-39559.L8i5YB.rst | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 Misc/NEWS.d/next/Library/2020-02-05-18-29-14.bpo-39559.L8i5YB.rst diff --git a/Lib/uuid.py b/Lib/uuid.py index 6a436d371a3..224a766ff22 100644 --- a/Lib/uuid.py +++ b/Lib/uuid.py @@ -757,7 +757,7 @@ else: _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 00000000000..881f26bdb7b --- /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