So long as it's the APLc with the set screw at the front of the rail instead of the middle. Some sites will "keyword stuff" their postings, and it will be the middle screw but they'll still list it as the Glock model.
The P07 has more rail slots so it doesn't matter as much, but the stock P01 only has that front rail slot cut.