<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def add_oid_entry(self, oid, type, value, label=None):
 		"""General function to add an oid entry to the MIB subtree."""

		if self.debug:
			print('DEBUG: %s %s %s %s'%(oid,type,value,label))
		item={'type': str(type), 'value': str(value)}
		if label is not None:
		    item['label']=str(label)
		self.pending[oid]=item