It is an example of a British public school . The school is located in the city of Winchester in Hampshire , England . Winchester College is an independent school for boys in the British public school tradition , situated in Winchester , Hampshire , the former capital of England .