from multiprocessing import process


class Actor(process.BaseProcess):
    def __init__(self):
        super(Actor, self).__init__()
        self._inbox = list()

    def send(self, value):
        self._inbox.append(value)

    @property
    def inbox(self):
        return self._inbox

from multiprocessing import Process


class Actor(Process):
    def __init__(self):
        super(Actor, self).__init__()
        self._inbox = list()

    def send(self, value):
        self._inbox.append(value)

    @property
    def inbox(self):
        return self._inbox

Change BaseProcess to Process as a parent class for Actor
Change BaseProcess to Process as a parent class for Actor

- from multiprocessing import process
+ from multiprocessing import Process
  
  
- class Actor(process.BaseProcess):
+ class Actor(Process):
      def __init__(self):
          super(Actor, self).__init__()
          self._inbox = list()
  
      def send(self, value):
          self._inbox.append(value)
  
      @property
      def inbox(self):
          return self._inbox
  
Change BaseProcess to Process as a parent class for Actor
## Code Before:
from multiprocessing import process


class Actor(process.BaseProcess):
    def __init__(self):
        super(Actor, self).__init__()
        self._inbox = list()

    def send(self, value):
        self._inbox.append(value)

    @property
    def inbox(self):
        return self._inbox

## Instruction:
Change BaseProcess to Process as a parent class for Actor
## Code After:
from multiprocessing import Process


class Actor(Process):
    def __init__(self):
        super(Actor, self).__init__()
        self._inbox = list()

    def send(self, value):
        self._inbox.append(value)

    @property
    def inbox(self):
        return self._inbox
