This is a children's book, as one in a series of small format books called The Dumpy Books for Children. The story was a children's favorite for half a century until the word sambo was deemed a racial slur in some countries and the illustrations considered reminiscent of "darky iconography".