old_contents: # docstrings not neede here (the type handler interfaces are fully
  # documented in base.py) pylint: disable-msg=C0111
  
  from base import ReturnValue
  
  
  class VoidReturn(ReturnValue):
  
      CTYPES = ['void']
      
      def get_c_error_return(self):
          return "return;"
      
      def convert_python_to_c(self, wrapper):
          wrapper.parse_params.add_parameter("", [], prepend=True)
  
      def convert_c_to_python(self, wrapper):
          wrapper.build_params.add_parameter("O", ['Py_None'], prepend=True)
  
new_contents: # docstrings not neede here (the type handler interfaces are fully
  # documented in base.py) pylint: disable-msg=C0111
  
  from base import ReturnValue
  
  
  class VoidReturn(ReturnValue):
  
      CTYPES = ['void']
      
      def get_c_error_return(self):
          return "return;"
      
      def convert_python_to_c(self, wrapper):
          wrapper.parse_params.add_parameter("", [], prepend=True)
  
      def convert_c_to_python(self, wrapper):
          pass
  
subject: make the void return type not return an explicit Py_None, to prevent a bug hwere None is being returned as first element of tuple when there are out/inout parameters