Skip to content

Commit 10e566c

Browse files
author
sambyers
committed
fixed up bound method example
1 parent a269b9f commit 10e566c

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

docs/user/quickstart.rst

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -478,11 +478,13 @@ extend functionality and leverage all of the objects and quality of life feature
478478

479479
.. code-block:: python
480480
481-
>>> new_method(self, params):
482-
... json_obj = self._session.get('/example/action/' + params)
481+
>>> new_method(self, param):
482+
... json_obj = self._session.get('/example/action/' + param)
483483
... return json_obj
484-
>>> WebexTeamsAPI().new_method = new_method
485-
>>> output = WebexTeamsAPI.new_method(params)
484+
485+
>>> api = WebexTeamsAPI()
486+
>>> api.new_method = new_method
487+
>>> output = WebexTeamsAPI.new_method(param)
486488
487489
488490
*Copyright (c) 2016-2019 Cisco and/or its affiliates.*

0 commit comments

Comments
 (0)