An electrical submersible well pump assembly has upper and lower motors
that are filled with oil. During installation in a well, the upper motor
lowers into engagement with the lower motor. The drive shafts of the
motors have splined ends that engage each other within a central cavity.
A vent port leads from the central cavity to the exterior for venting any
trapped air located within the central cavity.