Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1ccf520

Browse filesBrowse files
author
Saeid Darvishi
committed
edit l03: 127->128
1 parent 7437095 commit 1ccf520
Copy full SHA for 1ccf520

File tree

Expand file treeCollapse file tree

2 files changed

+2
-2
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

2 files changed

+2
-2
lines changed
Open diff view settings
Collapse file

‎_templates/sphinx_minoo_theme/static/minoo-rtl.css‎

Copy file name to clipboardExpand all lines: _templates/sphinx_minoo_theme/static/minoo-rtl.css
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ table.field-list th,table.field-list td{width:auto!important}
133133
.footnote-reference,.citation-reference{vertical-align:super;font-size:90%}
134134
.table.docutils.footnote tr,.table.docutils.citation tr{background:none;color:#616161}
135135
table.docutils.citation tr td,table.docutils.footnote tr td{border:none}
136-
table.docutils.footnote td,table.docutils.footnote th,table.docutils.citation td,table.docutils.citation th,table.field-list th,table.field-list td{margin:0;padding:3px 6px!important;font-size:90%;overflow:visible;width:100%}
136+
table.docutils.footnote td,table.docutils.footnote th,table.docutils.citation td,table.docutils.citation th,table.field-list th,table.field-list td{margin:0;padding:3px 12px!important;font-size:90%;overflow:visible;width:100%}
137137
table.docutils.footnote{white-space:normal}
138138
.toctree-wrapper li,#sidebar-bottom-list #tree-toc ul li,.contents.topic ul li{list-style:none}
139139
.toctree-wrapper li>ul{padding:0;margin:0 24px 0 0}
Collapse file

‎lessons/l03.rst‎

Copy file name to clipboardExpand all lines: lessons/l03.rst
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@
154154
155155
در بخش بعدی به اجرای سورس کد FirstProject پرداخته می‌شود؛ در این بخش بهتر است کمی به بررسی کدهای آن بپردازیم:
156156

157-
متن ماژول‌های پایتون 2x به صورت پیش‌فرض استاندارد یونیکد (`Unicode <http://en.wikipedia.org/wiki/Unicode>`_) را پشتیبانی نمی‌کنند و توسط اسکی (`ASCII <http://en.wikipedia.org/wiki/ASCII>`_) کدگذاری (Encoding) می‌شوند که تنها امکان استفاده از ۱۲۷ کاراکتر را می‌دهد. می‌توان با افزودن سطری مطابق الگوی ``-*- coding: encoding -*-#`` در ابتدای ماژول‌های پایتون (سطر یکم یا دوم) شیوه کدگذاری را به شکل دلخواه تعیین نمود. [`PEP 263 <http://www.python.org/dev/peps/pep-0263>`_]
157+
متن ماژول‌های پایتون 2x به صورت پیش‌فرض استاندارد یونیکد (`Unicode <http://en.wikipedia.org/wiki/Unicode>`_) را پشتیبانی نمی‌کنند و توسط اسکی (`ASCII <http://en.wikipedia.org/wiki/ASCII>`_) کدگذاری (Encoding) می‌شوند که تنها امکان استفاده از ۱۲۸ کاراکتر را می‌دهد. می‌توان با افزودن سطری مطابق الگوی ``-*- coding: encoding -*-#`` در ابتدای ماژول‌های پایتون (سطر یکم یا دوم) شیوه کدگذاری را به شکل دلخواه تعیین نمود. [`PEP 263 <http://www.python.org/dev/peps/pep-0263>`_]
158158

159159
بر همین اساس کدگذاری اسکریپت first_script_2x.py را به دلیل استفاده از کاراکترهایی خارج از مجموعه ASCII (÷ و ×) به UTF-8 تغییر داده‌ایم. پایتون 3x به صورت پیش‌فرض از استاندارد یونیکد پشتیبانی می‌کند.
160160

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.