The temperature dependence of half–widths and shifts of the spectral lines of CO2 and CO molecules is analyzed within the scope of the refined Anderson––Tsao––Curnutte––Frost (RATCF) model. It is shown that the temperature coefficients nγ which enter in γ(T) are dependent of the type of colliding molecules, quantum transition, and temperature interval.