@justinvdm You're reading the wrong docs. :) See http://sphinx-doc.org/markup/inline.html#cross-referencing-objects and follow "Python" from there. These are refs, not code samples.