Rename functions in validity to avoid future member name collisions.

This commit is contained in:
Mike Auty
2014-12-30 03:49:31 +00:00
parent 7ca450fd19
commit c1d054df10
12 changed files with 25 additions and 25 deletions
+3 -3
View File
@@ -19,10 +19,10 @@ class ObjectInterface(validity.ValidityRoutines):
# Since objects are likely to be instantiated often,
# we're only checking that context, offset and parent
# Everything else may be wrong, but that will get caught later on
self.type_check(context, context_module.ContextInterface)
self.type_check(offset, int)
self._type_check(context, context_module.ContextInterface)
self._type_check(offset, int)
if parent:
self.type_check(parent, ObjectInterface)
self._type_check(parent, ObjectInterface)
self._context = context
self._parent = None if not parent else parent