debouncing a switch during 'while' loop

mdb024:
The switch is connected through a pull-up resistor such that when the switch is open, it is pulled to ground, but when it is closed, the switch pulls +5V.

Don't understand that. A pull-up resistor normally pulls up to +5V. What is wired to what?