[Python-checkins] r73075 - python/branches/py3k/Doc/library/logging.rst
georg.brandl
python-checkins at python.org
Sun May 31 18:41:59 CEST 2009
Author: georg.brandl
Date: Sun May 31 18:41:59 2009
New Revision: 73075
Log:
#6155: remove usage of cPickle.
Modified:
python/branches/py3k/Doc/library/logging.rst
Modified: python/branches/py3k/Doc/library/logging.rst
==============================================================================
--- python/branches/py3k/Doc/library/logging.rst (original)
+++ python/branches/py3k/Doc/library/logging.rst Sun May 31 18:41:59 2009
@@ -1352,7 +1352,7 @@
At the receiving end, you can set up a receiver using the :mod:`socketserver`
module. Here is a basic working example::
- import cPickle
+ import pickle
import logging
import logging.handlers
import socketserver
@@ -1385,7 +1385,7 @@
self.handleLogRecord(record)
def unPickle(self, data):
- return cPickle.loads(data)
+ return pickle.loads(data)
def handleLogRecord(self, record):
# if a name is specified, we use the named logger rather than the one
More information about the Python-checkins
mailing list