[Python-Dev] Octal literals

James Y Knight foom at fuhm.net
Wed Feb 1 18:40:42 CET 2006


On Feb 1, 2006, at 7:33 AM, Gustavo J. A. M. Carneiro wrote:
> Another possility is to extend the 0x syntax to non-hex,
>> 0xff # hex
> 0o644 # octal
> 0b1101 # binary

+1
James


More information about the Python-Dev mailing list

AltStyle によって変換されたページ (->オリジナル) /