diff options
author | mathieui <mathieui@mathieui.net> | 2013-08-04 17:32:17 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2013-08-04 17:32:17 +0200 |
commit | 5cc11f13a0ea41d55b8f093d0e5da69d643cd299 (patch) | |
tree | ddaebcb5df188f9d4d113cc43b91c01998feaff3 | |
parent | bd81ef5cf309cc82a4b8aaee397e68d1bce8a260 (diff) | |
download | poezio-5cc11f13a0ea41d55b8f093d0e5da69d643cd299.tar.gz poezio-5cc11f13a0ea41d55b8f093d0e5da69d643cd299.tar.bz2 poezio-5cc11f13a0ea41d55b8f093d0e5da69d643cd299.tar.xz poezio-5cc11f13a0ea41d55b8f093d0e5da69d643cd299.zip |
Add new stubs for the documentation
-rw-r--r-- | doc/stub/potr/__init__.py | 0 | ||||
-rw-r--r-- | doc/stub/potr/context.py | 9 | ||||
-rw-r--r-- | doc/stub/pyotr.py | 6 |
3 files changed, 9 insertions, 6 deletions
diff --git a/doc/stub/potr/__init__.py b/doc/stub/potr/__init__.py new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/doc/stub/potr/__init__.py diff --git a/doc/stub/potr/context.py b/doc/stub/potr/context.py new file mode 100644 index 00000000..b8ebda67 --- /dev/null +++ b/doc/stub/potr/context.py @@ -0,0 +1,9 @@ + +class NotEncryptedError: pass +class UnencryptedMessage: pass +class ErrorReceived: pass +class NotEncryptedError: pass +class NotOTRMessage: pass +STATE_ENCRYPTED, STATE_PLAINTEXT, STATE_FINISHED = 1, 1, 1 +class Context: pass +class Account: pass diff --git a/doc/stub/pyotr.py b/doc/stub/pyotr.py deleted file mode 100644 index 0a9d2719..00000000 --- a/doc/stub/pyotr.py +++ /dev/null @@ -1,6 +0,0 @@ -class OTR(object): - pass - -MSG_STATE_PLAINTEXT = 1 -MSG_STATE_ENCRYPTED = 2 -MSG_STATE_FINISHED = 3 |