]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-39559: Remove unused, undocumented argument from uuid.getnode (GH-18369)
authorShantanu <hauntsaninja@users.noreply.github.com>
Wed, 5 Feb 2020 20:43:09 +0000 (12:43 -0800)
committerGitHub <noreply@github.com>
Wed, 5 Feb 2020 20:43:09 +0000 (22:43 +0200)
Lib/uuid.py
Misc/NEWS.d/next/Library/2020-02-05-18-29-14.bpo-39559.L8i5YB.rst [new file with mode: 0644]

index 6a436d371a3fd29c25f7ecd60b1ccb203d113f24..224a766ff2297fa9b80fca1a8ddd31933e1c7568 100644 (file)
@@ -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 (file)
index 0000000..881f26b
--- /dev/null
@@ -0,0 +1 @@
+Remove unused, undocumented argument ``getters`` from :func:`uuid.getnode`
\ No newline at end of file