The pope suffered an "isolated attack of bronchospasm" which caused vomiting with inhalation, the Vatican said on Friday.