Source: https://scicomp.ethz.ch/public/manual/Python/3.6.0/reference.pdf