To provide a module removing mechanism capable of reducing the length of a stub.
A module 10 has a printed board 11 with a first contact formed at the lower end part, and also has a frame 21 attached to the printed board 11. The frame 21 is formed with an ear projecting outwardly from right and left ends of the printed board 11. A socket main body part 30 has a lateral plate part 41 formed on both sides of a main body part 30, and also has a lead part 51 attached to the bottom part of the main body part 31. A leading end of a lead part 51 drawn from the main body part 31 serves as a second contact 58. A lower part groove 46 is formed in the upper part of the lateral plate part 41. A socket housing part 60 comprises a fitting part fitted in the lateral plate part 41, a guide groove 67 for guiding the lower end part of the lug to the lower part groove 46, and an upper part groove 68 for constituting a nearly fan-shaped groove integral with the lower part groove 46. When the module 10 is rotated in the nearly fan-shaped groove and is overturned laterally, the first contact abuts on the second contact 58.