34 week appointment

Just got home from my appointment. Doctor said I’m measuring at 40 weeks? But my c section is still scheduled for when I’m 39 weeks. Is this normal?