Skip to content

Commit 819664a

Browse files
author
Frederick Ross
committed
Fixed errors in docs.
1 parent 7519acc commit 819664a

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

docs/client.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@ splunklib.client
3030
:inherited-members:
3131
:undoc-members:
3232

33-
.. autoclass:: Conf
33+
.. autoclass:: ConfigurationFile
3434
:members:
3535
:inherited-members:
3636
:undoc-members:
3737

38-
.. autoclass:: Confs
38+
.. autoclass:: Configurations
3939
:members:
4040
:inherited-members:
4141
:undoc-members:
@@ -107,4 +107,4 @@ splunklib.client
107107
.. autoclass:: OperationError
108108
:members:
109109
:inherited-members:
110-
:undoc-members:
110+
:undoc-members:

docs/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ For more information about the SDK, see the `Developer Portal <http://dev.splunk
3737

3838
:class:`~splunklib.client.AlertGroup` class
3939

40-
:class:`~splunklib.client.Conf` class
40+
:class:`~splunklib.client.ConfigurationFile` class
4141

42-
:class:`~splunklib.client.Confs` class
42+
:class:`~splunklib.client.Configurations` class
4343

4444
:class:`~splunklib.client.Stanza` class
4545

splunklib/binding.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ class Context(object):
350350
Alternately, use the :func:`connect` function to create an already
351351
authenticated ``Context`` object. Or you may provide a session
352352
token explicitly (the same token may be shared by multiple
353-
``Context``s), which provides authentication.
353+
``Contexts``), which provides authentication.
354354
355355
:param host: The host name (default: ``"localhost"``).
356356
:type host: string
@@ -428,7 +428,8 @@ def connect(self):
428428
import splunklib.binding as binding
429429
c = binding.connect(...)
430430
socket = c.connect()
431-
socket.write("POST %s HTTP/1.1\r\n" % c._abspath("some/path/to/post/to"))
431+
socket.write("POST %s HTTP/1.1\r\n" % \
432+
c._abspath("some/path/to/post/to"))
432433
socket.write("Host: %s:%s\r\n" % (c.host, c.port))
433434
socket.write("Accept-Encoding: identity\r\n")
434435
socket.write("Authorization: %s\r\n" % c.token)

0 commit comments

Comments
 (0)