No doubt Maugham is writing about a real-life incident that occurred many years earlier when he was a struggling writer. As he says in his story:
I had a tiny apartment in the Latin Quarter overlooking a cemetery and I was earning barely enough money to keep body and soul together. She had read a book of mine and had written to me about it.