Terry Pratchett said this quote

The female mind is certainly a devious one, my lord. Vetinari looked at his secretary in surprise. Well, of course it is. It has to deal with the male one.