aboutsummaryrefslogtreecommitdiff
path: root/diplomacy/utils/splitter.py
diff options
context:
space:
mode:
Diffstat (limited to 'diplomacy/utils/splitter.py')
-rw-r--r--diplomacy/utils/splitter.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/diplomacy/utils/splitter.py b/diplomacy/utils/splitter.py
index 5de502e..e1e4169 100644
--- a/diplomacy/utils/splitter.py
+++ b/diplomacy/utils/splitter.py
@@ -24,6 +24,7 @@ class AbstractStringSplitter(metaclass=ABCMeta):
""" Breaks a string into its components - Generic class """
def __init__(self, string, length):
""" Constructor
+
:param string: the string to split
:param length: the maximum length of the split
"""
@@ -60,6 +61,7 @@ class OrderSplitter(AbstractStringSplitter):
""" Splits an order into its components """
def __init__(self, string):
""" Constructor
+
:param string: the string to split
"""
self._unit_index = None
@@ -196,6 +198,7 @@ class PhaseSplitter(AbstractStringSplitter):
""" Splits a phase into its components """
def __init__(self, string):
""" Constructor
+
:param string: the string to split
"""
self._season_index = None