Unwell after stench from pit comes to town (7)
I believe the answer is:
borough
'town' is the definition.
(borough is a kind of town)
I cannot understand how the remainder of the clue works.
Can you help me to learn more?
(Other definitions for borough that I've seen before include "Administrative area" , "Region of London" , "London district" , "Local district" , "Important town" .)