A rotary electric motor comprising: an object to be accommodated; and a stator frame body that accommodates the object to be accommodated and includes a peripheral wall extending in a cylindrical shape in an axial direction and has an opening in the axial direction, wherein the object to be accommodated includes: an intermediate assembly including a stator core and a rigid wiring board disposed to be opposed to the stator core in the axial direction, the rigid wiring board including a ring-shaped wiring board body and a connector mounting part projecting outward in a radial direction from the wiring board body, and a connector to be fixed to the connector mounting part of the rigid wiring board in such a way that the connector is opposed to the stator core in the radial direction of the stator frame body, the connector including a contact to be soldered to the connector mounting part and a housing that holds the contact, wherein a groove part extending in the axial direction from the opening is formed in the inner peripheral surface of the stator frame body and accommodates the connector and the connector mounting part, the groove part being formed such that the object to be accommodated including the stator core, the rigid wiring board and the connector can be inserted into the stator frame body when the connector is inserted into this groove part of the stator frame body, wherein a window part for an opponent connector to mate with the connector accommodated in the groove part is formed in the stator frame body as a penetrating hole that penetrates the peripheral wall of the stator frame body in the radial direction, and the window part opens in an outer surface of the stator frame body and an inner surface of the groove part, and has an unbroken inner peripheral surface. an object to be accommodated; and a stator frame body that accommodates the object to be accommodated and includes a peripheral wall extending in a cylindrical shape in an axial direction and has an opening in the axial direction, wherein the object to be accommodated includes: an intermediate assembly including a stator core and a rigid wiring board disposed to be opposed to the stator core in the axial direction, the rigid wiring board including a ring-shaped wiring board body and a connector mounting part projecting outward in a radial direction from the wiring board body, and a connector to be fixed to the connector mounting part of the rigid wiring board in such a way that the connector is opposed to the stator core in the radial direction of the stator frame body, the connector including a contact to be soldered to the connector mounting part and a housing that holds the contact, wherein a groove part extending in the axial direction from the opening is formed in the inner peripheral surface of the stator frame body and accommodates the connector and the connector mounting part, the groove part being formed such that the object to be accommodated including the stator core, the rigid wiring board and the connector can be inserted into the stator frame body when the connector is inserted into this groove part of the stator frame body, wherein a window part for an opponent connector to mate with the connector accommodated in the groove part is formed in the stator frame body as a penetrating hole that penetrates the peripheral wall of the stator frame body in the radial direction, and the window part opens in an outer surface of the stator frame body and an inner surface of the groove part, and has an unbroken inner peripheral surface. an intermediate assembly including a stator core and a rigid wiring board disposed to be opposed to the stator core in the axial direction, the rigid wiring board including a ring-shaped wiring board body and a connector mounting part projecting outward in a radial direction from the wiring board body, and a connector to be fixed to the connector mounting part of the rigid wiring board in such a way that the connector is opposed to the stator core in the radial direction of the stator frame body, the connector including a contact to be soldered to the connector mounting part and a housing that holds the contact, wherein a groove part extending in the axial direction from the opening is formed in the inner peripheral surface of the stator frame body and accommodates the connector and the connector mounting part, the groove part being formed such that the object to be accommodated including the stator core, the rigid wiring board and the connector can be inserted into the stator frame body when the connector is inserted into this groove part of the stator frame body, wherein a window part for an opponent connector to mate with the connector accommodated in the groove part is formed in the stator frame body as a penetrating hole that penetrates the peripheral wall of the stator frame body in the radial direction, and the window part opens in an outer surface of the stator frame body and an inner surface of the groove part, and has an unbroken inner peripheral surface.