Convert single backtick code sections to triple backtick code sections for Arabic Guide articles (13 of 15) (#36240)
* fix: converted single to triple backticks13 * fix: added prefix Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com> * fix: removed language in wrong place Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com> * fix: add language postfix Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com> * fix: removed language in wrong place Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com>
This commit is contained in:
@@ -8,22 +8,24 @@ localeTitle: الاستثناءات ومعالجة الأخطاء
|
||||
|
||||
مثال:
|
||||
|
||||
`>>> try:
|
||||
>>> . . . print "this is not a string "+1
|
||||
>>> except:
|
||||
>>> . . . print "error"
|
||||
error
|
||||
`
|
||||
```shell
|
||||
>>> try:
|
||||
>>> . . . print "this is not a string "+1
|
||||
>>> except:
|
||||
>>> . . . print "error"
|
||||
error
|
||||
```
|
||||
|
||||
وإذا كنت ترغب في الحصول على رسائل خطأ بمزيد من التفاصيل من التعليمات البرمجية ، فيمكنك إضافة وسائط `except Exception as err`
|
||||
|
||||
`>>> try:
|
||||
>>> . . . print "this is not a string "+1
|
||||
>>> except Exception as err:
|
||||
>>> . . . print "error:\n"+str(err)
|
||||
error:
|
||||
cannot concatenate 'str' and 'int' objects
|
||||
`
|
||||
```shell
|
||||
>>> try:
|
||||
>>> . . . print "this is not a string "+1
|
||||
>>> except Exception as err:
|
||||
>>> . . . print "error:\n"+str(err)
|
||||
error:
|
||||
cannot concatenate 'str' and 'int' objects
|
||||
```
|
||||
|
||||
معلومات اكثر:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user