A transmission includes a fan assembly having a fan wheel, a cover, and a grating. The fan wheel is connected in a torsionally fixed manner to the input shaft of the transmission, and the fan cover is fixed in place on a holding frame, which, for example, includes multiple parts and is fastened to the housing of the transmission. The grating is formed by two grating parts, whose first separating line is a straight segment or is formed by two mutually aligned straight segments, and the cover includes two cover parts, whose second separating line is a plane curve, made up of straight segment sections.