Better API for ICapPaste.new_paste
This commit is contained in:
parent
6c2d164883
commit
8af2674994
6 changed files with 11 additions and 13 deletions
|
|
@ -53,9 +53,10 @@ class ICapPaste(IBaseCap):
|
|||
This capability represents the ability for a website backend to store plain text.
|
||||
"""
|
||||
|
||||
def new_paste(self):
|
||||
def new_paste(self, *args, **kwargs):
|
||||
"""
|
||||
Get a new paste object for posting it with the backend.
|
||||
The parameters should be passed to the object init.
|
||||
|
||||
@return a Paste object
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue