Some rudimentary doc strings/descriptions
This commit is contained in:
parent
cfec12d5a6
commit
5c6597497d
1
box.py
1
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")
|
||||
|
|
2
box2.py
2
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")
|
||||
|
|
1
box3.py
1
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")
|
||||
|
|
|
@ -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")
|
||||
|
|
|
@ -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")
|
||||
|
|
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue