Skip to content

Commit 065cc7b

Browse files
author
Shakeel Mohamed
committed
Minor docstring changes
1 parent b45ed5f commit 065cc7b

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

examples/github_forks/github_forks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def validate_input(self, validation_definition):
110110
def stream_events(self, inputs, ew):
111111
"""This function handles all the action: splunk calls this modular input
112112
without arguments, streams XML describing the inputs to stdin, and waits
113-
for XML on stout describing events.
113+
for XML on stdout describing events.
114114
115115
If you set use_single_instance to True on the scheme in get_scheme, it
116116
will pass all the instances of this input to a single instance of this

examples/random_numbers/random_numbers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def get_scheme(self):
6060
min_argument.required_on_create = True
6161
# If you are not using external validation, you would add something like:
6262
#
63-
# setValidation("min > 0");
63+
# scheme.validation = "min > 0"
6464
scheme.add_argument(min_argument)
6565

6666
max_argument = Argument("max")
@@ -96,7 +96,7 @@ def validate_input(self, validation_definition):
9696
def stream_events(self, inputs, ew):
9797
"""This function handles all the action: splunk calls this modular input
9898
without arguments, streams XML describing the inputs to stdin, and waits
99-
for XML on stout describing events.
99+
for XML on stdout describing events.
100100
101101
If you set use_single_instance to True on the scheme in get_scheme, it
102102
will pass all the instances of this input to a single instance of this

splunklib/modularinput/event_writer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def log(self, severity, message):
6464
These messages will show up in Splunk's internal logs.
6565
6666
:param severity: ``string``, severity of message, see severites defined as class constants.
67-
:param message: Message to log.
67+
:param message: ``string``, message to log.
6868
"""
6969

7070
self._err.write("%s %s\n" % (severity, message))

0 commit comments

Comments
 (0)