ANAHEIM — A's pitcher Brandon McCarthy has been discharged from the hospital Tuesday.

His wife, Amanda, tweeted: "Today is the day that Hobbes and I play nurse at home!!," she wrote, referring to the name of her dog.

McCarthy broke the news in more sarcastic fashion from his own Twitter account: "Well, if being discharged from the hospital isn't the best time to ask about a threesome then I'm fresh out of ideas," he wrote, all in caps.

The A's released a statement that McCarthy was discharged from California Pacific Medical Campus in San Francisco early Tuesday afternoon. McCarthy underwent emergency brain surgery Wednesday night after he was struck in the head by a line drive.

Dr. Peter Weber, the neurologist who performed the surgery at CPMC, and Dr. Allan Pont, A's team physician, both felt that McCarthy had made an excellent recovery and could be safely released from the hospital, the A's said.

McCarthy also issued a statement through the A's, after leaving the hospital Tuesday:

"From the bottom of our hearts, (my wife) Amanda and I want to thank everyone who was involved in responding to and treating my injury, starting with Dr. Weber and all the team's medical personnel from doctors Allan Pont, Elliott Schwartz and Jon Dickinson to the Oakland A's athletic trainers, as well as the other physicians and nurses who were on duty around the clock in the Critical Care Unit at California Pacific. We feel the same way about the ambulance driver and those who first met us at the hospital. We could not have been in better hands.

"We also want to express our deep appreciation to our teammates, manager and coaching staff for their concern and encouragement during the uncertain times, and also want to thank all the A's fans who wished us well. It's times like these when you realize you have an extended family, and feel so fortunate. Now we look forward to continuing the healing process, and returning to baseball and our normal lives in the weeks and months ahead. Go A's!"