Quantity(q) is a function of price(p), so let q=f(p).
Because of the way calculus was founded (by Newton and Liebniz at about the same time), two different notations are still used today.
If q=f(p), then the first derivative can be symbolised as \(\displaystyle \frac{dq}{dp}\) or as \(\displaystyle f ' (p)\).
So, \(\displaystyle \frac{dq}{dp}\frac{p_0}{q_0} = f ' (p) \frac{p_0}{f(p_0)}\).
They are both saying the same thing, just in a different language.