It sounds strange when my colleagues refer to a class in Python having an a-TRIB-ute rather than an ATT-tri-bute. I'm familiar with the verb form stressing the middle syllable and the noun form stressing the first.
It took me rather a long time to shake it, in fact. These things happen!
import foo
"im-PORT foo""foo is an IM-port"
"this code im-PORTs foo"