[Rdkit-devel] [PATCH 07/17] Prevent creating CanvasBase class instances
Open-Source Cheminformatics and Machine Learning
Brought to you by:
glandrum
|
From: Gianluca S. <gi...@gm...> - 2011-03-19 09:44:40
|
---
rdkit/Chem/Draw/canvasbase.py | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/rdkit/Chem/Draw/canvasbase.py b/rdkit/Chem/Draw/canvasbase.py
index 5ac81da..0a5801e 100644
--- a/rdkit/Chem/Draw/canvasbase.py
+++ b/rdkit/Chem/Draw/canvasbase.py
@@ -11,9 +11,6 @@
class CanvasBase:
"""Base class for specialized canvas backends"""
- def __init__():
- assert False, 'No objects of this type can be created'
-
def addCanvasLine(self, p1, p2, color=(0, 0, 0), color2=None, **kwargs):
"""Draw a single line on the canvas
--
1.7.4
|