Lists And Missing Commas

Tim Daneliuk info at tundraware.com
Tue Dec 24 10:45:42 EST 2019


On 12/24/19 6:37 AM, Stefan Ram wrote:
>  And you all are aware that this kind of string concatenation
>   happens in C and C++, too, aren't you?
> 
>   main.c
> 
> #include <stdio.h>
> int main( void ){ puts( "a" "b" ); }
> 
>   transcript
> 
> ab

Noting that it has been a long time since I looked at the C specification ...

Is the above an artifact of how puts() is implemented or is it innate in the language spec?


More information about the Python-list mailing list