The integral form of Ampère–Maxwell's law for an arbitrarily-shaped wire is recast from a topological perspective, eliminating the need to use conduction current and displacement current terms to determine the magnetic field circulation around an arbitrarily-shaped loop. A generalized flux of the electric field is defined, enabling Ampère–Maxwell's law for magnetic field circulation to be written in a form which parallels that in the absence of conduction current. It is hoped that this work has educational interest since it provides an example of how topology can simplify the formulation of physical laws. The ideas presented herein are primarily intended for undergraduate students of electromagnetism, but may also be of interest to graduate students and teachers.