From 5c6597497d02b2b323c7f1cb6805902460350ce5 Mon Sep 17 00:00:00 2001 From: Florian Festi Date: Tue, 8 Mar 2016 21:53:29 +0100 Subject: [PATCH] Some rudimentary doc strings/descriptions --- box.py | 1 + box2.py | 2 ++ box3.py | 1 + flexbox.py | 1 + flexbox2.py | 1 + flexbox3.py | 1 + 6 files changed, 7 insertions(+) diff --git a/box.py b/box.py index f27b9ff..02dba57 100755 --- a/box.py +++ b/box.py @@ -17,6 +17,7 @@ from boxes import * class Box(Boxes): + """Fully closed box""" def __init__(self): Boxes.__init__(self) self.buildArgParser("x", "y", "h") diff --git a/box2.py b/box2.py index 97d96e6..bcc4a7e 100755 --- a/box2.py +++ b/box2.py @@ -18,6 +18,8 @@ from boxes import * import inspect class Box(Boxes): + """Simple open box with raised floor""" + def __init__(self): Boxes.__init__(self) self.buildArgParser("x", "y", "h") diff --git a/box3.py b/box3.py index 35ead0e..35adb95 100755 --- a/box3.py +++ b/box3.py @@ -17,6 +17,7 @@ from boxes import * class Box(Boxes): + """Box with just 3 walls""" def __init__(self): Boxes.__init__(self) self.buildArgParser("x", "y", "h") diff --git a/flexbox.py b/flexbox.py index f18d7ea..d763135 100755 --- a/flexbox.py +++ b/flexbox.py @@ -18,6 +18,7 @@ import boxes import math class FlexBox(boxes.Boxes): + """Box with living hinge and round corners""" def __init__(self): boxes.Boxes.__init__(self) self.buildArgParser("x", "y", "h") diff --git a/flexbox2.py b/flexbox2.py index b07a081..132c5f7 100755 --- a/flexbox2.py +++ b/flexbox2.py @@ -18,6 +18,7 @@ from boxes import * import math class FlexBox(Boxes): + """Box with living hinge and top corners rounded""" def __init__(self): Boxes.__init__(self) self.buildArgParser("x", "y", "h") diff --git a/flexbox3.py b/flexbox3.py index 9676f11..f405f80 100755 --- a/flexbox3.py +++ b/flexbox3.py @@ -18,6 +18,7 @@ from boxes import * import math class FlexBox(Boxes): + """Box with living hinge""" def __init__(self): Boxes.__init__(self) self.buildArgParser("x", "y")