Proposition 2
Tag 0B3A, permanent. Cite it as [Bourbaki, Tag 0B3A].
General Topology, chapter I, § 5. Open mappings and closed mappings
Let be two topological spaces, a mapping of into . For each subset of let denote the mapping of into which agrees with on .
a) If is open (resp. closed), is open (resp. closed).
b) Let be a family of subsets of whose interiors cover , or which is a locally finite closed covering of ; if all the are open (resp. closed), then is open (resp. closed).
a) If is an open (resp. closed) subset of , then there is an open (resp. closed) subset of such that , and therefore f_T(A) = f(B) \cap T; by hypothesis, is open (resp. closed), so that is open (resp. closed) in .
b) Let be an open (resp. closed) subset of , and let denote ; then . Since is open (resp. closed) in by hypothesis, it follows that is open (resp. closed) in , by Proposition 3 of § 3, no. 1.
Bourbaki puts the proof directly after the statement, so what is above is the statement and its proof together.