Kulsoom Akhter Chandio, a member of the Sindh Assembly, was hit by a bullet in the shooting at Punjab Chowrangi in Clifton area of Karachi this evening.
She was taken to the Civil Hospital, where doctors said she was out of danger.
PPP spokesman Latif Mughal said Chandio, who belongs to Dadu district of Sindh, was hit in the leg by a bullet and her condition was stable.
The gunmen, who were riding a motorcycle, escaped after the shooting.
The motive for the attack could not immediately be ascertained.
Sindh Chief Minister Qaim Ali Shah condemned the attack and directed the provincial police chief to arrest the attackers immediately.