How does inflation affect stock prices

What is the effect of inflation on stock market prices?