Skip to content

Commit b911aaa

Browse files
committed
fix typo error
1 parent a2705a2 commit b911aaa

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

pastebin_python/pastebin.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def __init__(self, **kwargs):
4141

4242
@property
4343
def api_user_key(self):
44-
"""This is where the api_user_key is stored after calling :func:`creatAPIUserKey`
44+
"""This is where the api_user_key is stored after calling :func:`createAPIUserKey`
4545
4646
:returns: str -- the api_user_key
4747
@@ -148,7 +148,7 @@ def __processPost(self, url, data):
148148

149149
return response
150150

151-
def creatAPIUserKey(self, api_user_name, api_user_password):
151+
def createAPIUserKey(self, api_user_name, api_user_password):
152152
"""This is used to request an *api_user_key* which can be used to create a paste as a logged in user
153153
154154
:param api_user_name: this is the pastebin.com username
@@ -184,7 +184,7 @@ def listUserPastes(self, api_results_limit=50):
184184
185185
.. note::
186186
187-
Need to call the :func:`creatAPIUserKey` first before calling this function
187+
Need to call the :func:`createAPIUserKey` first before calling this function
188188
Pastes list will be stored to the private variable *__api_user_paste_list* and can be retrieve by the property *api_user_key*
189189
190190
"""
@@ -308,7 +308,7 @@ def deletePaste(self, api_paste_key):
308308
309309
.. note::
310310
311-
Before calling this function, you need to call the :func:`creatAPIUserKey` first then call the :func:`listUserPastes`
311+
Before calling this function, you need to call the :func:`createAPIUserKey` first then call the :func:`listUserPastes`
312312
313313
"""
314314
postData = {
@@ -337,7 +337,7 @@ def getUserInfos(self):
337337
338338
.. note::
339339
340-
You need to call the :func:`creatAPIUserKey` before calling this function
340+
You need to call the :func:`createAPIUserKey` before calling this function
341341
342342
"""
343343

0 commit comments

Comments
 (0)