pydoc update
This commit is contained in:
parent
38ec3de098
commit
3dcf6f921e
@ -19,10 +19,11 @@ LICENSE, otherwise it is available at https://gith
|
|||||||
|
|
||||||
<tr ><td bgcolor="#aa55cc" ><tt > </tt></td><td > </td>
|
<tr ><td bgcolor="#aa55cc" ><tt > </tt></td><td > </td>
|
||||||
<td width="100%" ><table width="100%" summary="list" ><tr ><td width="25%" valign="top" ><a href="ctypes.html" >ctypes</a><br />
|
<td width="100%" ><table width="100%" summary="list" ><tr ><td width="25%" valign="top" ><a href="ctypes.html" >ctypes</a><br />
|
||||||
</td><td width="25%" valign="top" ><a href="os.html" >os</a><br />
|
<a href="os.html" >os</a><br />
|
||||||
</td><td width="25%" valign="top" ><a href="threading.html" >threading</a><br />
|
</td><td width="25%" valign="top" ><a href="sys.html" >sys</a><br />
|
||||||
|
<a href="threading.html" >threading</a><br />
|
||||||
</td><td width="25%" valign="top" ><a href="time.html" >time</a><br />
|
</td><td width="25%" valign="top" ><a href="time.html" >time</a><br />
|
||||||
</td></tr></table></td></tr></table><p >
|
</td><td width="25%" valign="top" ></td></tr></table></td></tr></table><p >
|
||||||
<table width="100%" cellspacing="0" cellpadding="2" border="0" summary="section" >
|
<table width="100%" cellspacing="0" cellpadding="2" border="0" summary="section" >
|
||||||
<tr bgcolor="#ee77aa" >
|
<tr bgcolor="#ee77aa" >
|
||||||
<td colspan="3" valign="bottom" > <br />
|
<td colspan="3" valign="bottom" > <br />
|
||||||
|
|||||||
@ -98,17 +98,6 @@ If the timeout is exceeded, FunctionTimedOut will&
|
|||||||
but will not block the calling thread (a new thread will be created to perform the join). If possible, you should try/except FunctionTimedOut<br />
|
but will not block the calling thread (a new thread will be created to perform the join). If possible, you should try/except FunctionTimedOut<br />
|
||||||
to return cleanly, but in most cases it will 'just work'.<br />
|
to return cleanly, but in most cases it will 'just work'.<br />
|
||||||
<br />
|
<br />
|
||||||
Be careful of code like:<br />
|
|
||||||
<br />
|
|
||||||
def myfunc():<br />
|
|
||||||
while True:<br />
|
|
||||||
try:<br />
|
|
||||||
dosomething()<br />
|
|
||||||
except Exception:<br />
|
|
||||||
continue<br />
|
|
||||||
<br />
|
|
||||||
because it will never terminate.<br />
|
|
||||||
<br />
|
|
||||||
@return - The return value that #func# gives</tt></dd></dl>
|
@return - The return value that #func# gives</tt></dd></dl>
|
||||||
</td></tr></table><p >
|
</td></tr></table><p >
|
||||||
<table width="100%" cellspacing="0" cellpadding="2" border="0" summary="section" >
|
<table width="100%" cellspacing="0" cellpadding="2" border="0" summary="section" >
|
||||||
|
|||||||
@ -194,17 +194,6 @@ If the timeout is exceeded, <a href="#FunctionTimedOut"
|
|||||||
but will not block the calling thread (a new thread will be created to perform the join). If possible, you should try/except <a href="#FunctionTimedOut" >FunctionTimedOut</a><br />
|
but will not block the calling thread (a new thread will be created to perform the join). If possible, you should try/except <a href="#FunctionTimedOut" >FunctionTimedOut</a><br />
|
||||||
to return cleanly, but in most cases it will 'just work'.<br />
|
to return cleanly, but in most cases it will 'just work'.<br />
|
||||||
<br />
|
<br />
|
||||||
Be careful of code like:<br />
|
|
||||||
<br />
|
|
||||||
def myfunc():<br />
|
|
||||||
while True:<br />
|
|
||||||
try:<br />
|
|
||||||
dosomething()<br />
|
|
||||||
except Exception:<br />
|
|
||||||
continue<br />
|
|
||||||
<br />
|
|
||||||
because it will never terminate.<br />
|
|
||||||
<br />
|
|
||||||
@return - The return value that #func# gives</tt></dd></dl>
|
@return - The return value that #func# gives</tt></dd></dl>
|
||||||
</td></tr></table><p >
|
</td></tr></table><p >
|
||||||
<table width="100%" cellspacing="0" cellpadding="2" border="0" summary="section" >
|
<table width="100%" cellspacing="0" cellpadding="2" border="0" summary="section" >
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user