Hybridization and shape

How many atoms and lone pairs surround a carbon sets its hybridization, four making it sp3 and tetrahedral, three sp2 and flat, two sp and straight, because every pi bond needs a p orbital kept out of the mix.

From Organic Chemistry.