summaryrefslogtreecommitdiffstats
path: root/Lib/poplib.py
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@python.org>2019-06-27 17:47:59 (GMT)
committerGitHub <noreply@github.com>2019-06-27 17:47:59 (GMT)
commit44f91c388a6f4da9ed3300df32ca290b8aa104ea (patch)
tree6e02d501dbcb28708fa662a33da2715a505389e5 /Lib/poplib.py
parent21cfae107e410bf4b0ab3c142ca4449bc33290f5 (diff)
downloadcpython-44f91c388a6f4da9ed3300df32ca290b8aa104ea.zip
cpython-44f91c388a6f4da9ed3300df32ca290b8aa104ea.tar.gz
cpython-44f91c388a6f4da9ed3300df32ca290b8aa104ea.tar.bz2
bpo-37390: Add audit event table to documentations (GH-14406)
Also updates some (unreleased) event names to be consistent with the others.
Diffstat (limited to 'Lib/poplib.py')
-rw-r--r--Lib/poplib.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/poplib.py b/Lib/poplib.py
index ced0a2d..e3bd2ab 100644
--- a/Lib/poplib.py
+++ b/Lib/poplib.py
@@ -100,7 +100,7 @@ class POP3:
self.host = host
self.port = port
self._tls_established = False
- sys.audit("poplib.POP3", self, host, port)
+ sys.audit("poplib.connect", self, host, port)
self.sock = self._create_socket(timeout)
self.file = self.sock.makefile('rb')
self._debugging = 0
@@ -111,7 +111,7 @@ class POP3:
def _putline(self, line):
if self._debugging > 1: print('*put*', repr(line))
- sys.audit("poplib.POP3.putline", self, line)
+ sys.audit("poplib.putline", self, line)
self.sock.sendall(line + CRLF)