Python html doc cosmetic tweaks
[skip ci]
This commit is contained in:
parent
76d813f321
commit
7c2ed7eae5
1 changed files with 15 additions and 15 deletions
|
|
@ -2313,11 +2313,11 @@ private:
|
|||
|
||||
<div class="targetlang">
|
||||
<pre>
|
||||
class MyPyException (Exception) :
|
||||
def __init__(self, msg, *args) :
|
||||
class MyPyException(Exception):
|
||||
def __init__(self, msg, *args):
|
||||
Exception.__init__(self, *args)
|
||||
self.myexc = MyException(msg)
|
||||
def what (self) :
|
||||
def what(self):
|
||||
return self.myexc.what()
|
||||
</pre>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue