Hollywood's industry bible Variety mistakenly declared Monty Python star Terry Gilliam had died and published his obituary, but the 74-year-old responded in a typically Monty Python fashion by apologising for "being dead".

Variety's pre-prepared obituary was published on Tuesday, with the headline: "Monty Python's Terry Gilliam, director of Brazil, dies at XXX".

The report began: "Director Terry Gilliam, the only American member of the Monty Python comedy troupe and an Oscar nominee for the screenplay to his film Brazil, has died."

It was live for several hours before someone at the website corrected the mistake and posted an apology on Twitter which read: "Correction: Variety incorrectly published an article stating that director Terry Gilliam passed away. We're deeply sorry for the mistake."

Gilliam went on Facebook and, in a Pythonesque way, posted an apology for "being dead".

"I apologize for being dead especially to those who have already bought tickets to the upcoming talks, but, Variety has announced my demise. Don't believe their retraction and apology!" the text read.

After Variety's blunder went viral, Twitter exploded with Monty Python fans posting references to the comedy gang's famous Dead Parrot sketch.

@humphriesmark wrote: "Monty Python's Terry Gilliam is not dead. He's resting... he's stunned... he's pining for the fjords." Another, by @lisamarks, said: "Apparently the parrot is still dead but Terry Gilliam is not."

Terry Gilliam is releasing autobiography Gilliamesque on Thursday October 1. He will follow this up with some talks on the memoir later in the same month in New York and London.