summaryrefslogtreecommitdiffstats
path: root/Lib/test/mock_socket.py
diff options
context:
space:
mode:
authorFurkan Önder <furkantahaonder@gmail.com>2020-05-01 12:49:35 (GMT)
committerGitHub <noreply@github.com>2020-05-01 12:49:35 (GMT)
commit719e14d2837520c18398a3e22a36f20c1fe76edf (patch)
tree81e6e4b774b4fa828b9429c06d033dee74ec0ac2 /Lib/test/mock_socket.py
parent8727664557cd44dcd00612ccba816942e8f885ab (diff)
downloadcpython-719e14d2837520c18398a3e22a36f20c1fe76edf.zip
cpython-719e14d2837520c18398a3e22a36f20c1fe76edf.tar.gz
cpython-719e14d2837520c18398a3e22a36f20c1fe76edf.tar.bz2
bpo-40462: fix variable and function names (GH-19832)
Automerge-Triggered-By: @vstinner
Diffstat (limited to 'Lib/test/mock_socket.py')
-rw-r--r--Lib/test/mock_socket.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/mock_socket.py b/Lib/test/mock_socket.py
index b28c473..cda4db2 100644
--- a/Lib/test/mock_socket.py
+++ b/Lib/test/mock_socket.py
@@ -91,7 +91,7 @@ class MockSocket:
handle = MockFile(self.lines)
return handle
- def sendall(self, buffer, flags=None):
+ def sendall(self, data, flags=None):
self.last = data
self.output.append(data)
return len(data)