A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2006-April/063535.html below:

[Python-Dev] The "i" string-prefix: I18n'ed strings

[Python-Dev] The "i" string-prefix: I18n'ed strings [Python-Dev] The "i" string-prefix: I18n'ed stringsBarry Warsaw barry at python.org
Fri Apr 7 18:21:41 CEST 2006
On Fri, 2006-04-07 at 13:29 +0200, Alexander Schremmer wrote:

> Have you thought about simply writing _ = lambda x:x instead of N_ ...?
> By doing that, you just need to care about one function (of course _
> doesn't translate in that case and you might need to del _ afterwards).

That's essentially what I do in Mailman, although I use

def _(s): return s

same-difference-ly y'rs,
-Barry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 309 bytes
Desc: This is a digitally signed message part
Url : http://mail.python.org/pipermail/python-dev/attachments/20060407/dda4f6a3/attachment.pgp 
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4