Examples from Core Python