Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Sebastian Schrader
Kea
Commits
8015b408
Commit
8015b408
authored
Jul 26, 2013
by
Naoki Kambe
Browse files
[2843] replace __doc__ in documentation with 'documentation for'
not to refer directly to the hidden element of python
parent
42407bf1
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/python/isc/statistics/dns.py
View file @
8015b408
...
...
@@ -64,7 +64,7 @@ isc.notify.notify_out, in this example, empty methods would be invoked,
which is directly defined in `counter.py`.
This module basically inherits isc.statistics.counters. Also see
isc.statistics.counters
.__doc__
for details."""
documentation for
isc.statistics.counters for details."""
import
isc.config
from
isc.statistics
import
counters
...
...
@@ -127,7 +127,8 @@ class _Statistics():
class
Counters
(
counters
.
Counters
):
"""A list of counters which can be handled in the class are like
the following. Also see counters.Counters.__doc__ for details.
the following. Also see documentation for
isc.statistics.counters.Counters for details.
zones/IN/example.com./notifyoutv4
zones/IN/example.com./notifyoutv6
...
...
@@ -180,8 +181,8 @@ class Counters(counters.Counters):
def
__init__
(
self
,
spec_file_name
=
None
):
"""If the item `zones` is defined in the spec file, it obtains a
list of counter names under it when initiating. For behaviors
other than this, see
isc.statistics.counters.Counters.__init__
.__doc__.
"""
other than this, see
documentation for
isc.statistics.counters.Counters.__init__
()
"""
counters
.
Counters
.
__init__
(
self
,
spec_file_name
)
if
self
.
_perzone_prefix
in
\
isc
.
config
.
spec_name_list
(
self
.
_statistics
.
_spec
):
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment