summaryrefslogtreecommitdiff
path: root/apscheduler
diff options
context:
space:
mode:
authorAlex Grönholm <alex.gronholm@nextday.fi>2014-06-17 20:14:43 +0300
committerAlex Grönholm <alex.gronholm@nextday.fi>2014-06-17 20:14:43 +0300
commit03f05ce16628e708f8e0deeafe98f2c9928de9c7 (patch)
tree226d20f531e430bc809cd17c9a86e3ab8510ef80 /apscheduler
parent73c5e4870e96444b9100dc64cf67988bb3618c00 (diff)
downloadapscheduler-03f05ce16628e708f8e0deeafe98f2c9928de9c7.tar.gz
Finished the "Extending APScheduler" documentation
Diffstat (limited to 'apscheduler')
-rw-r--r--apscheduler/executors/base.py2
-rw-r--r--apscheduler/jobstores/base.py2
-rw-r--r--apscheduler/triggers/base.py2
3 files changed, 4 insertions, 2 deletions
diff --git a/apscheduler/executors/base.py b/apscheduler/executors/base.py
index 65a4a3f..0bb173b 100644
--- a/apscheduler/executors/base.py
+++ b/apscheduler/executors/base.py
@@ -18,7 +18,7 @@ class MaxInstancesReachedError(Exception):
class BaseExecutor(six.with_metaclass(ABCMeta, object)):
- """Base class of all executors."""
+ """Abstract base class that defines the interface that every executor must implement."""
_scheduler = None
_lock = None
diff --git a/apscheduler/jobstores/base.py b/apscheduler/jobstores/base.py
index 30a9997..7ac44c3 100644
--- a/apscheduler/jobstores/base.py
+++ b/apscheduler/jobstores/base.py
@@ -28,7 +28,7 @@ class TransientJobError(ValueError):
class BaseJobStore(six.with_metaclass(ABCMeta)):
- """Abstract base class that provides the interface needed by all job stores."""
+ """Abstract base class that defines the interface that every job store must implement."""
_scheduler = None
_alias = None
diff --git a/apscheduler/triggers/base.py b/apscheduler/triggers/base.py
index ec8118d..3520d31 100644
--- a/apscheduler/triggers/base.py
+++ b/apscheduler/triggers/base.py
@@ -4,6 +4,8 @@ import six
class BaseTrigger(six.with_metaclass(ABCMeta)):
+ """Abstract base class that defines the interface that every trigger must implement."""
+
@abstractmethod
def get_next_fire_time(self, previous_fire_time, now):
"""