Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion splunklib/searchcommands/decorators.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ class Option(property):
**Example:**

Long form. Useful when you wish to manage the option value and its deleter/getter/setter side-effects yourself. You
must provide a getter and a setter. If your :code:`Option` requires `destruction <https://docs.python.org/2/reference/datamodel.html#object.__del__>`_ you must
must provide a getter and a setter. If your :code:`Option` requires `destruction <https://docs.python.org/3/reference/datamodel.html#object.__del__>`_ you must
also provide a deleter. You must be prepared to accept a value of :const:`None` which indicates that your
:code:`Option` is unset.

Expand Down
2 changes: 1 addition & 1 deletion splunklib/searchcommands/environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def configure_logging(logger_name, filename=None):
:returns: The named logger and the location of the logging configuration file loaded.
:rtype: tuple

.. _ConfigParser format: https://docs.python.org/2/library/logging.config.html#configuration-file-format
.. _ConfigParser format: https://docs.python.org/3/library/logging.config.html#configuration-file-format

"""
if filename is None:
Expand Down
2 changes: 1 addition & 1 deletion splunklib/searchcommands/search_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -1154,7 +1154,7 @@ def dispatch(
):
"""Instantiates and executes a search command class

This function implements a `conditional script stanza <https://docs.python.org/2/library/__main__.html>`_ based on the value of
This function implements a `conditional script stanza <https://docs.python.org/3/library/__main__.html>`_ based on the value of
:code:`module_name`::

if module_name is None or module_name == '__main__':
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#
# The format and semantics of this file are described in this article at Python.org:
#
# [Configuration file format](https://docs.python.org/2/library/logging.config.html#configuration-file-format)
# [Configuration file format](https://docs.python.org/3/library/logging.config.html#configuration-file-format)
#
[loggers]
keys = root, splunklib, SearchCommand
Expand Down Expand Up @@ -31,7 +31,7 @@ handlers = app
propagate = 0

[handlers]
# See [logging.handlers](https://docs.python.org/2/library/logging.handlers.html)
# See [logging.handlers](https://docs.python.org/3/library/logging.handlers.html)
keys = app, splunklib, stderr

[handler_app]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#
# The format and semantics of this file are described in this article at Python.org:
#
# [Configuration file format](https://docs.python.org/2/library/logging.config.html#configuration-file-format)
# [Configuration file format](https://docs.python.org/3/library/logging.config.html#configuration-file-format)
#
[loggers]
keys = root, splunklib, SearchCommand
Expand Down Expand Up @@ -31,7 +31,7 @@ handlers = app
propagate = 0

[handlers]
# See [logging.handlers](https://docs.python.org/2/library/logging.handlers.html)
# See [logging.handlers](https://docs.python.org/3/library/logging.handlers.html)
keys = app, splunklib, stderr

[handler_app]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#
# The format and semantics of this file are described in this article at Python.org:
#
# [Configuration file format](https://docs.python.org/2/library/logging.config.html#configuration-file-format)
# [Configuration file format](https://docs.python.org/3/library/logging.config.html#configuration-file-format)
#
[loggers]
keys = root, splunklib, SearchCommand
Expand Down Expand Up @@ -31,7 +31,7 @@ handlers = app
propagate = 0

[handlers]
# See [logging.handlers](https://docs.python.org/2/library/logging.handlers.html)
# See [logging.handlers](https://docs.python.org/3/library/logging.handlers.html)
keys = app, splunklib, stderr

[handler_app]
Expand Down
Loading