| [ Web Proxy ] |
| Viewing: https://wiki.python.org/moin/../python/platforms/../../jython/../python/archive/DunderAlias.html | [Back] [Original] |
Legacy Wiki Page
This page was migrated from the old MoinMoin-based wiki. Information may be outdated or no longer applicable. For current documentation, see python.org.
Mark Jackson was the first to suggest dunder as a speech shorthand for double underscores (__) in a reply to a query from Pat Notz. Ned Batchelder later stressed the need for a way of pronouncing __:
An awkward thing about programming in Python: there are lots of double underscores. [snip] My problem with the double underscore is that its hard to say. How do you pronounce __init__? underscore underscore init underscore underscore? under under init under under? Just plain init seems to leave out something important. I have a solution: double underscore should be pronounced dunder. So __init__ is dunder init dunder, or just dunder init.
Antonio Rodriguez reported immediate adoption of the alias.
Back to top2026, Python Software Foundation
Made with Sphinx and Shibuya theme.
| Web Proxy Viewer | New URL | Original Page |