From 5cc11f13a0ea41d55b8f093d0e5da69d643cd299 Mon Sep 17 00:00:00 2001 From: mathieui Date: Sun, 4 Aug 2013 17:32:17 +0200 Subject: Add new stubs for the documentation --- doc/stub/potr/__init__.py | 0 doc/stub/potr/context.py | 9 +++++++++ doc/stub/pyotr.py | 6 ------ 3 files changed, 9 insertions(+), 6 deletions(-) create mode 100644 doc/stub/potr/__init__.py create mode 100644 doc/stub/potr/context.py delete mode 100644 doc/stub/pyotr.py (limited to 'doc') diff --git a/doc/stub/potr/__init__.py b/doc/stub/potr/__init__.py new file mode 100644 index 00000000..e69de29b 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 -- cgit v1.2.3