Consider Example 3.5 in the following lecture notes on Fourier Analysis, on page 10 at the bottom.
http://www.math.ku.dk/~schlicht/DL/2013/fourier-summary.pdf
I cannot understand why it says that a function defined on $[-\pi,\pi[$ is $2\pi$-periodic. It further says that $f$ is discontinuous for all points $n\pi$ where $n$ is an integer, but it is not even defined in $\pi$, let alone $n\pi$?
Could someone help me understand what's going on here?