summaryrefslogtreecommitdiff
path: root/dns/name.py
diff options
context:
space:
mode:
authorBob Halley <halley@dnspython.org>2017-01-02 07:30:39 -0800
committerBob Halley <halley@dnspython.org>2017-01-02 07:30:39 -0800
commitac74e75994f384a7f37ef9ced333f207b626c57c (patch)
treedc88b2c01944f144ae376c4272127caab335bf95 /dns/name.py
parent55eecb40efcdd13d9b7c0d9277ed0199a9e8eaa5 (diff)
downloaddnspython-ac74e75994f384a7f37ef9ced333f207b626c57c.tar.gz
adjust __init__ now that we include it in class description
Diffstat (limited to 'dns/name.py')
-rw-r--r--dns/name.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/dns/name.py b/dns/name.py
index abff256..951488e 100644
--- a/dns/name.py
+++ b/dns/name.py
@@ -325,8 +325,7 @@ class Name(object):
__slots__ = ['labels']
def __init__(self, labels):
- """Initialize a domain name from a list of labels.
- *labels* is any iterable whose values are ``text`` or ``binary``.
+ """*labels* is any iterable whose values are ``text`` or ``binary``.
"""
labels = [_maybe_convert_to_binary(x) for x in labels]