MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / __init__

Method __init__

tools/python-3.11.9-amd64/Lib/nntplib.py:101–106  ·  view source on GitHub ↗
(self, *args)

Source from the content-addressed store, hash-verified

99class NNTPError(Exception):
100 """Base class for all nntplib exceptions"""
101 def __init__(self, *args):
102 Exception.__init__(self, *args)
103 try:
104 self.response = args[0]
105 except IndexError:
106 self.response = 'No response given'
107
108class NNTPReplyError(NNTPError):
109 """Unexpected [123]xx reply"""

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected