Skip to main content
Post Undeleted by Mark Amery
added 158 characters in body
Source Link
Mark Amery
  • 153.5k
  • 15
  • 128
  • 195

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.

The backticks are 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.

In a normal post, backticking urllib2 is appropriate. 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.

Post Deleted by Mark Amery
Source Link
Mark Amery
  • 153.5k
  • 15
  • 128
  • 195

The backticks are 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.