Or to be more precise, genders, as you’ll read in this excellent essay by Neil on Powells.com
Books have sexes; or to be more precise, books have genders. They do in my head, anyway. Or at least, the ones that I write do. And these are genders that have something, but not everything, to do with the gender of the main character of the story.
When I wrote the ten volumes of Sandman, I tended to alternate between what I thought of as male storylines, such as the first story, collected under the title Preludes and Nocturnes, or the fourth book, Season of Mists; and more female stories, like Game of You, or Brief Lives.