X Tutup
Skip to content

Commit 9c6a895

Browse files
committed
Add missing docstring.
1 parent 778409f commit 9c6a895

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bpython/repl.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -774,10 +774,10 @@ def pastebin(self, s=None):
774774
not self.interact.confirm("Pastebin buffer? (y/N) ")):
775775
self.interact.notify("Pastebin aborted")
776776
return
777-
return do_pastebin(s)
778-
777+
return self.do_pastebin(s)
779778

780779
def do_pastebin(self, s):
780+
"""Actually perform the upload."""
781781
if s == self.prev_pastebin_content:
782782
self.interact.notify('Duplicate pastebin. Previous URL: ' +
783783
self.prev_pastebin_url)

0 commit comments

Comments
 (0)
X Tutup