A friend who works in the shelters said the only way to get one off of someone is to go behind the dog and lift its back legs high in the air. Then run like hell.
So what if you lift the leg and hold onto it and then start swinging?
Your info may come in handy someday when I am confronted by a pit bull chomping down on somebody.