Can't the python syntax "pass"?

So I was using my stylesheet and I wanted to change the color of the “pass” keyword in python in the stylesheet but it also changes the “import” and “from” keyword I don’t know much about CSS and I’ve probably just done it wrong has anyone else done this with success?