rotating a vector around another

Hey all!

I need to rotate a vector u, around a vector v theta degrees/ radians.
Any one have this code written?

Thanks
Squirrel

maybe? https://blenderartists.org/forum/viewtopic.php?t=31676