Commits

Anonymous committed a03b7d4

showing which classes are mere placeholders

Comments (0)

Files changed (2)

rope/base/pynames.py

 
 
 class AssignedName(PyName):
-
-    def __init__(self, *args, **kwds):
-        raise RuntimeError('This is not a definition; use defpynames')
+    """Only a placeholder"""
 
 
 class UnboundName(PyName):
 
 
 class EvaluatedName(PyName):
-    """A `PyName` that will be assigned an expression"""
-
-    def __init__(self, *args, **kwds):
-        raise RuntimeError('This is not a definition; use evalute')
+    """Only a placeholder"""
 
 
 class ParameterName(PyName):
-
-    def __init__(self, *args, **kwds):
-        raise RuntimeError('This is not a definition; use defpynames')
+    """Only a placeholder"""
 
 
 class ImportedModule(PyName):

rope/base/pyobjects.py

 
 
 class PyFunction(PyDefinedObject, AbstractFunction):
-    pass
+    """Only a placeholder"""
 
 
 class PyClass(PyDefinedObject, AbstractClass):
-    pass
+    """Only a placeholder"""
 
 
 class _ConcludedData(object):
 
 
 class PyModule(_PyModule):
-    pass
+    """Only a placeholder"""
 
 
 class PyPackage(_PyModule):
-    pass
+    """Only a placeholder"""
 
 
 class IsBeingInferredError(exceptions.RopeError):