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/2011-October/113823.html below:

[Python-Dev] [Python-checkins] cpython: fix formatting

[Python-Dev] [Python-checkins] cpython: fix formatting [Python-Dev] [Python-checkins] cpython: fix formattingVictor Stinner victor.stinner at haypocalc.com
Tue Oct 4 11:21:15 CEST 2011
Le 04/10/2011 01:35, benjamin.peterson a écrit :
> http://hg.python.org/cpython/rev/64495ad8aa54
> changeset:   72634:64495ad8aa54
> user:        Benjamin Peterson<benjamin at python.org>
> date:        Mon Oct 03 19:35:07 2011 -0400
> summary
>    fix formatting
>
> +++ b/Objects/unicodeobject.c
> @@ -1362,8 +1362,8 @@
>               return -1;
>           _PyUnicode_CheckConsistency(*p_unicode);
>           return 0;
> -    } else
> -        return resize_inplace((PyUnicodeObject*)unicode, length);
> +    }
> +    return resize_inplace((PyUnicodeObject*)unicode, length);
>   }

I chose deliberately to use "else return ...", it's more readable for me.

Victor
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