The object Partition is a type, with ancestor classes BasicList < Thing.
The source of this document is in /build/reproducible-path/macaulay2-1.25.06+ds/M2/Macaulay2/packages/Macaulay2Doc/functions/partitions-doc.m2:62:0.