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/2000-January/001889.html below:

[Python-Dev] Adding C ternary select (a?b:c) to Python?

[Python-Dev] Adding C ternary select (a?b:c) to Python? [Python-Dev] Adding C ternary select (a?b:c) to Python?M.-A. Lemburg mal@lemburg.com
Sun, 30 Jan 2000 22:34:51 +0100
> --- Include/token.h     2000/01/28 17:38:55     1.1
> +++ Include/token.h     2000/01/29 01:27:00
> @@ -74,10 +74,11 @@
>  #define LEFTSHIFT      34
>  #define RIGHTSHIFT     35
>  #define DOUBLESTAR     36
> +#define QUERY          37
>  /* Don't forget to update the table _PyParser_TokenNames in tokenizer.c! */
> -#define OP             37
> -#define ERRORTOKEN     38
> -#define N_TOKENS       39
> +#define OP             38
> +#define ERRORTOKEN     39
> +#define N_TOKENS       34

Shouldn't this read #define N_TOKENS 40 ?!

Apart from that I wouldn't mind having this patch in the core :-)

-- 
Marc-Andre Lemburg
______________________________________________________________________
Business:                                      http://www.lemburg.com/
Python Pages:                           http://www.lemburg.com/python/




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