Yellow bell pepper with brown spots inside
Same texture as the rest of the pepper?  ie not raised slimy etc? My guess is sunburn from it's earliest stages of development if from desert or frost if from temperate climes. 

At any rate, I have eaten imperfect peppers all my life.