The backticks areIn a normal post, backticking urllib2
is appropriate here. A Python module name, like a function or class name, is something that you type directly in your code. It's thus appropriate to backtick it. If there were a distinct human name, like URL Library 2, that was different from the module name urllib2
used in code, then that wouldn't be appropriate to backtick, but backticking urllib2
is correct.
The official docs for urllib2
consistently use <code>
tags for urllib2
, so they evidently believe that the name is code. I don't see any reason to disagree with them.
However, in a tag wiki excerpt where the backticks don't get parsed and will just be rendered literally, they're ugly. Leave them out, and edit them out if you see them.