ثُمَّ يَحْلِقُ أَوْ يُقَصِّرُ، وَالْحَلْقُ أَفْضَلُ.
Translation: Then he shaves or shortens the hair, and shaving is superior [for a man].
Ḥalq means shaving the head, while taqṣīr means shortening the hair. Al-Quduri permits either and calls shaving preferable for the male pilgrim.
For a woman the ruling differs: she shortens her hair and does not shave her head. The preference for shaving should never be generalized to women. Detailed minimums for valid taqsir are discussed in Hanafi commentaries.