MCPcopy Index your code
hub / github.com/python/cpython / close

Method close

Lib/logging/handlers.py:1235–1246  ·  view source on GitHub ↗

Clean up this handler. You can remove the application name from the registry as a source of event log entries. However, if you do this, you will not be able to see the events as you intended in the Event Log Viewer - it needs to be able to access the registr

(self)

Source from the content-addressed store, hash-verified

1233 self.handleError(record)
1234
1235 def close(self):
1236 """
1237 Clean up this handler.
1238
1239 You can remove the application name from the registry as a
1240 source of event log entries. However, if you do this, you will
1241 not be able to see the events as you intended in the Event Log
1242 Viewer - it needs to be able to access the registry to get the
1243 DLL name.
1244 """
1245 #self._welu.RemoveSourceFromRegistry(self.appname, self.logtype)
1246 logging.Handler.close(self)
1247
1248class HTTPHandler(logging.Handler):
1249 """

Callers 1

test_basicMethod · 0.95

Calls 1

closeMethod · 0.45

Tested by 1

test_basicMethod · 0.76