From: Shantanu Date: Wed, 5 Feb 2020 20:43:09 +0000 (-0800) Subject: bpo-39559: Remove unused, undocumented argument from uuid.getnode (GH-18369) X-Git-Tag: v3.9.0a4~125 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8b6f6526f857bb7523b0fcff09b45bc6471289e9;p=thirdparty%2FPython%2Fcpython.git bpo-39559: Remove unused, undocumented argument from uuid.getnode (GH-18369) --- diff --git a/Lib/uuid.py b/Lib/uuid.py index 6a436d371a3f..224a766ff229 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 000000000000..881f26bdb7ba --- /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