3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-27 21:19:31 +01:00

NetworkCore: remove outdated, now misleading constructor description

This commit is contained in:
James Lu 2017-07-12 23:16:03 -07:00
parent 2e7fed84c1
commit fa4d831e44

View File

@ -39,11 +39,6 @@ class PyLinkNetworkCore(utils.DeprecatedAttributesObject, utils.CamelCaseToSnake
"""Base IRC object for PyLink.""" """Base IRC object for PyLink."""
def __init__(self, netname): def __init__(self, netname):
"""
Initializes an IRC object. This takes 3 variables: the network name
(a string), the name of the protocol module to use for this connection,
and a configuration object.
"""
self.deprecated_attributes = { self.deprecated_attributes = {
'conf': 'Deprecated since 1.2; consider switching to conf.conf', 'conf': 'Deprecated since 1.2; consider switching to conf.conf',
'botdata': "Deprecated since 1.2; consider switching to conf.conf['bot']", 'botdata': "Deprecated since 1.2; consider switching to conf.conf['bot']",