From cf430bf7545cbc921d58b0bce61aeef9ab0ba508 Mon Sep 17 00:00:00 2001 From: vocx-fc Date: Thu, 8 Aug 2019 01:01:34 -0500 Subject: [PATCH] Draft: WorkingPlane, Pythonic style, improved the docstring --- src/Mod/Draft/WorkingPlane.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Mod/Draft/WorkingPlane.py b/src/Mod/Draft/WorkingPlane.py index 62766160a2..934680dc3d 100644 --- a/src/Mod/Draft/WorkingPlane.py +++ b/src/Mod/Draft/WorkingPlane.py @@ -684,6 +684,10 @@ class plane: self.weak = True def reset(self): + """Reset the plane. + + Set the `doc` attribute to `None`, and `weak` to `True`. + """ self.doc = None self.weak = True