<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _occ(self, value, typ, datatype=None):
 """\ Issues events to create an occurrence. `value` The string value `typ` The occurrence type `datatype` The datatype (default: xsd:string) """

        self._handler.occurrence(typ, value, datatype)