The item was presented in class which caused the school to be 'calmly' evacuated, Hampshire Constabulary said.