<div dir="ltr">Hey guys,<div><br></div><div style>I want to report what I believe to be a bug with IDLE. </div><div style><br></div><div style>When calling a function in IDLE, it shows a tool-tip describing the function's parameters, including optional parameters and their default value. Using python 2.7.5 on Windows 7 with IDLE, I've found out the tool-tips for optional parameters with fractional default value is quite strange. Using this definition - </div>

<div style><br></div><div style>def foo(x=1.5):</div><div style>    pass</div><div style><br></div><div style>Calling foo will produce the tool-tip (x=1<tuple>). This "tuple" thing will appear when using several default parameters, even when nested inside parametrs (def foo([[0.3]])) .</div>

<div style><br></div><div style>I first thought it is some feature I'm misunderstanding, so I've opened a question on <a href="http://stackoverflow.com/questions/17053492/pythons-idle-behavior-while-defining-fractional-default-values-to-function-para">stackoverflow</a>. It appears this problem also appears using python 2.7.3.</div>

<div style><br></div><div style>Hope this information helps,</div><div style>Ariel.</div></div>