summaryrefslogtreecommitdiff
path: root/pythonmod/doc/examples/example4.rst
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2015-12-12 22:18:57 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2015-12-12 22:18:57 +0000
commita7af7146c91c816cb83e0c5812eca7019531acb5 (patch)
tree6e64b645522115b817ba7eabd4e4ce58f129e8c7 /pythonmod/doc/examples/example4.rst
parent835a7e7a4dd68819f7610dafdf9277d3852aef6a (diff)
downloadsrc-test2-a7af7146c91c816cb83e0c5812eca7019531acb5.tar.gz
src-test2-a7af7146c91c816cb83e0c5812eca7019531acb5.zip
Notes
Diffstat (limited to 'pythonmod/doc/examples/example4.rst')
-rw-r--r--pythonmod/doc/examples/example4.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/pythonmod/doc/examples/example4.rst b/pythonmod/doc/examples/example4.rst
index 6cc484797826..b665351e84ec 100644
--- a/pythonmod/doc/examples/example4.rst
+++ b/pythonmod/doc/examples/example4.rst
@@ -24,7 +24,7 @@ DNS query and word lookup
Let's define the following format od DNS queries: ``word1[.]word2[.] ... wordN[.]{en,cs}[._dict_.cz.]``.
Word lookup is done by simple ``dict`` lookup from broken DNS request.
-Query name is divided into a list of labels. This list is accesible as qname_list attribute.
+Query name is divided into a list of labels. This list is accessible as qname_list attribute.
::
aword = ' '.join(qstate.qinfo.qname_list[0:-4]) #skip last four labels