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/2002-January/019444.html below:

[niemeyer@conectiva.com: Re: [Python-Dev] Python's footprint]

[niemeyer@conectiva.com: Re: [Python-Dev] Python's footprint] [niemeyer@conectiva.com: Re: [Python-Dev] Python's footprint]Guido van Rossum guido@python.org
Mon, 14 Jan 2002 15:06:52 -0500
> Just to make sure... I was talking about something like:
> 
> open__doc__ = \
>     "Open the file. On Windows, the MBCS encoding is assumed, "\
>     "on all other systems, the file name must be given in ASCII.";
> 
> vs.
> 
> #ifdef MS_WINDOWS
> open__doc__ = \
>     "Open the file, assuming the filename is given in the MBCS "\
>     "encoding.";
> #else
> open__doc__ = \
>     "Open the file, assuming the filename is given in ASCII.";
> #endif

Given the main use case for docstrings, I'd prefer the latter.  The
library manual should contain the "all-platforms" documentation.

--Guido van Rossum (home page: http://www.python.org/~guido/)



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