The incident happened in the Hopefield Avenue area in the early hours of Saturday.
The suspects are aged 23 and 25.
Detective Sergeant Dolores Black said: “A 25-year-old man sustained injuries to his leg during an attack we believe occurred in a flat in the area at around 2.45 am this morning.
“The two suspects were detained by police a short time later and remain in custody this afternoon assisting with enquiries.
“We are keen to hear from anyone with information or who was in the Hopefield Avenue area early this morning. Musgrave CID can be contacted by calling 101.”