Skip to content

Commit 395ea38

Browse files
stubs for exceptions and snakesay
1 parent 37f8c5f commit 395ea38

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

pythonanywhere/exceptions.pyi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
class SanityException(Exception): ...

pythonanywhere/snakesay.pyi

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
from typing import Type, Tuple, List, Iterator
2+
3+
MESSAGE = Type[str]
4+
5+
def snakesay(*things) -> str: ...
6+
def speech_bubble_lines(speech: str) -> Iterator[str]: ...
7+
def rewrap(speech: str) -> Tuple[List[str], int]: ...

0 commit comments

Comments
 (0)