Skip to content

Commit bcd17d3

Browse files
committed
Translate info sections at the end
1 parent 5dde16c commit bcd17d3

File tree

1 file changed

+90
-88
lines changed

1 file changed

+90
-88
lines changed

translations/fa-farsi/README.md

Lines changed: 90 additions & 88 deletions
Original file line numberDiff line numberDiff line change
@@ -40,146 +40,146 @@
4040
<!-- toc -->
4141

4242
- [فهرست مطالب](#فهرست-مطالب)
43-
- [ساختار مثال‌ها](#structure-of-the-examples)
43+
- [ساختار مثال‌ها](#ساختار-مثالها)
4444
- [استفاده](#استفاده)
45-
- [👀 مثال‌ها](#-مثال‌ها)
45+
- [👀 مثال‌ها](#-مثالها)
4646
- [بخش: ذهن خود را به چالش بکشید!](#بخش-ذهن-خود-را-به-چالش-بکشید)
4747
- [▶ اول از همه! \*](#-اول-از-همه-)
4848
- [💡 توضیحات](#-توضیحات)
4949
- [▶ بعضی وقت‌ها رشته‌ها می‌توانند دردسرساز شوند](#-بعضی-وقتها-رشتهها-میتوانند-دردسرساز-شوند)
50-
- [💡 Explanation:](#-explanation-1)
50+
- [💡 Explanation:](#-explanation)
5151
- [▶ Be careful with chained operations](#-be-careful-with-chained-operations)
52-
- [💡 Explanation:](#-explanation-2)
52+
- [💡 Explanation:](#-explanation-1)
5353
- [▶ How not to use `is` operator](#-how-not-to-use-is-operator)
54-
- [💡 Explanation:](#-explanation-3)
54+
- [💡 Explanation:](#-explanation-2)
5555
- [▶ Hash brownies](#-hash-brownies)
56-
- [💡 Explanation](#-explanation-4)
56+
- [💡 Explanation](#-explanation-3)
5757
- [▶ Deep down, we're all the same.](#-deep-down-were-all-the-same)
58-
- [💡 Explanation:](#-explanation-5)
58+
- [💡 Explanation:](#-explanation-4)
5959
- [▶ Disorder within order \*](#-disorder-within-order-)
60-
- [💡 Explanation:](#-explanation-6)
60+
- [💡 Explanation:](#-explanation-5)
6161
- [▶ Keep trying... \*](#-keep-trying-)
62-
- [💡 Explanation:](#-explanation-7)
62+
- [💡 Explanation:](#-explanation-6)
6363
- [▶ For what?](#-for-what)
64-
- [💡 Explanation:](#-explanation-8)
64+
- [💡 Explanation:](#-explanation-7)
6565
- [▶ Evaluation time discrepancy](#-evaluation-time-discrepancy)
66-
- [💡 Explanation](#-explanation-9)
66+
- [💡 Explanation](#-explanation-8)
6767
- [`is not ...` is not `is (not ...)`](#-is-not--is-not-is-not-)
68-
- [💡 Explanation](#-explanation-10)
68+
- [💡 Explanation](#-explanation-9)
6969
- [▶ A tic-tac-toe where X wins in the first attempt!](#-a-tic-tac-toe-where-x-wins-in-the-first-attempt)
70-
- [💡 Explanation:](#-explanation-11)
70+
- [💡 Explanation:](#-explanation-10)
7171
- [▶ Schrödinger's variable \*](#-schrödingers-variable-)
72-
- [💡 Explanation:](#-explanation-12)
72+
- [💡 Explanation:](#-explanation-11)
7373
- [▶ The chicken-egg problem \*](#-the-chicken-egg-problem-)
74-
- [💡 Explanation](#-explanation-13)
74+
- [💡 Explanation](#-explanation-12)
7575
- [▶ Subclass relationships](#-subclass-relationships)
76-
- [💡 Explanation:](#-explanation-14)
76+
- [💡 Explanation:](#-explanation-13)
7777
- [▶ Methods equality and identity](#-methods-equality-and-identity)
78-
- [💡 Explanation](#-explanation-15)
78+
- [💡 Explanation](#-explanation-14)
7979
- [▶ All-true-ation \*](#-all-true-ation-)
80+
- [💡 Explanation:](#-explanation-15)
8081
- [💡 Explanation:](#-explanation-16)
81-
- [💡 Explanation:](#-explanation-17)
8282
- [▶ Strings and the backslashes](#-strings-and-the-backslashes)
83-
- [💡 Explanation](#-explanation-18)
83+
- [💡 Explanation](#-explanation-17)
8484
- [▶ not knot!](#-not-knot)
85-
- [💡 Explanation:](#-explanation-19)
85+
- [💡 Explanation:](#-explanation-18)
8686
- [▶ Half triple-quoted strings](#-half-triple-quoted-strings)
87-
- [💡 Explanation:](#-explanation-20)
87+
- [💡 Explanation:](#-explanation-19)
8888
- [▶ What's wrong with booleans?](#-whats-wrong-with-booleans)
89-
- [💡 Explanation:](#-explanation-21)
89+
- [💡 Explanation:](#-explanation-20)
9090
- [▶ Class attributes and instance attributes](#-class-attributes-and-instance-attributes)
91-
- [💡 Explanation:](#-explanation-22)
91+
- [💡 Explanation:](#-explanation-21)
9292
- [▶ yielding None](#-yielding-none)
93-
- [💡 Explanation:](#-explanation-23)
93+
- [💡 Explanation:](#-explanation-22)
9494
- [▶ Yielding from... return! \*](#-yielding-from-return-)
95-
- [💡 Explanation:](#-explanation-24)
95+
- [💡 Explanation:](#-explanation-23)
9696
- [▶ Nan-reflexivity \*](#-nan-reflexivity-)
97-
- [💡 Explanation:](#-explanation-25)
97+
- [💡 Explanation:](#-explanation-24)
9898
- [▶ Mutating the immutable!](#-mutating-the-immutable)
99-
- [💡 Explanation:](#-explanation-26)
99+
- [💡 Explanation:](#-explanation-25)
100100
- [▶ The disappearing variable from outer scope](#-the-disappearing-variable-from-outer-scope)
101-
- [💡 Explanation:](#-explanation-27)
101+
- [💡 Explanation:](#-explanation-26)
102102
- [▶ The mysterious key type conversion](#-the-mysterious-key-type-conversion)
103-
- [💡 Explanation:](#-explanation-28)
103+
- [💡 Explanation:](#-explanation-27)
104104
- [▶ Let's see if you can guess this?](#-lets-see-if-you-can-guess-this)
105-
- [💡 Explanation:](#-explanation-29)
105+
- [💡 Explanation:](#-explanation-28)
106106
- [▶ Exceeds the limit for integer string conversion](#-exceeds-the-limit-for-integer-string-conversion)
107-
- [💡 Explanation:](#-explanation-30)
107+
- [💡 Explanation:](#-explanation-29)
108108
- [Section: Slippery Slopes](#section-slippery-slopes)
109109
- [▶ Modifying a dictionary while iterating over it](#-modifying-a-dictionary-while-iterating-over-it)
110-
- [💡 Explanation:](#-explanation-31)
110+
- [💡 Explanation:](#-explanation-30)
111111
- [▶ Stubborn `del` operation](#-stubborn-del-operation)
112-
- [💡 Explanation:](#-explanation-32)
112+
- [💡 Explanation:](#-explanation-31)
113113
- [▶ The out of scope variable](#-the-out-of-scope-variable)
114-
- [💡 Explanation:](#-explanation-33)
114+
- [💡 Explanation:](#-explanation-32)
115115
- [▶ Deleting a list item while iterating](#-deleting-a-list-item-while-iterating)
116-
- [💡 Explanation:](#-explanation-34)
116+
- [💡 Explanation:](#-explanation-33)
117117
- [▶ Lossy zip of iterators \*](#-lossy-zip-of-iterators-)
118-
- [💡 Explanation:](#-explanation-35)
118+
- [💡 Explanation:](#-explanation-34)
119119
- [▶ Loop variables leaking out!](#-loop-variables-leaking-out)
120-
- [💡 Explanation:](#-explanation-36)
120+
- [💡 Explanation:](#-explanation-35)
121121
- [▶ Beware of default mutable arguments!](#-beware-of-default-mutable-arguments)
122-
- [💡 Explanation:](#-explanation-37)
122+
- [💡 Explanation:](#-explanation-36)
123123
- [▶ Catching the Exceptions](#-catching-the-exceptions)
124-
- [💡 Explanation](#-explanation-38)
124+
- [💡 Explanation](#-explanation-37)
125125
- [▶ Same operands, different story!](#-same-operands-different-story)
126-
- [💡 Explanation:](#-explanation-39)
126+
- [💡 Explanation:](#-explanation-38)
127127
- [▶ Name resolution ignoring class scope](#-name-resolution-ignoring-class-scope)
128-
- [💡 Explanation](#-explanation-40)
128+
- [💡 Explanation](#-explanation-39)
129129
- [▶ Rounding like a banker \*](#-rounding-like-a-banker-)
130-
- [💡 Explanation:](#-explanation-41)
130+
- [💡 Explanation:](#-explanation-40)
131131
- [▶ Needles in a Haystack \*](#-needles-in-a-haystack-)
132-
- [💡 Explanation:](#-explanation-42)
132+
- [💡 Explanation:](#-explanation-41)
133133
- [▶ Splitsies \*](#-splitsies-)
134-
- [💡 Explanation:](#-explanation-43)
134+
- [💡 Explanation:](#-explanation-42)
135135
- [▶ Wild imports \*](#-wild-imports-)
136-
- [💡 Explanation:](#-explanation-44)
136+
- [💡 Explanation:](#-explanation-43)
137137
- [▶ All sorted? \*](#-all-sorted-)
138-
- [💡 Explanation:](#-explanation-45)
138+
- [💡 Explanation:](#-explanation-44)
139139
- [▶ Midnight time doesn't exist?](#-midnight-time-doesnt-exist)
140-
- [💡 Explanation:](#-explanation-46)
140+
- [💡 Explanation:](#-explanation-45)
141141
- [Section: The Hidden treasures!](#section-the-hidden-treasures)
142142
- [▶ Okay Python, Can you make me fly?](#-okay-python-can-you-make-me-fly)
143-
- [💡 Explanation:](#-explanation-47)
143+
- [💡 Explanation:](#-explanation-46)
144144
- [`goto`, but why?](#-goto-but-why)
145-
- [💡 Explanation:](#-explanation-48)
145+
- [💡 Explanation:](#-explanation-47)
146146
- [▶ Brace yourself!](#-brace-yourself)
147-
- [💡 Explanation:](#-explanation-49)
147+
- [💡 Explanation:](#-explanation-48)
148148
- [▶ Let's meet Friendly Language Uncle For Life](#-lets-meet-friendly-language-uncle-for-life)
149-
- [💡 Explanation:](#-explanation-50)
149+
- [💡 Explanation:](#-explanation-49)
150150
- [▶ Even Python understands that love is complicated](#-even-python-understands-that-love-is-complicated)
151-
- [💡 Explanation:](#-explanation-51)
151+
- [💡 Explanation:](#-explanation-50)
152152
- [▶ Yes, it exists!](#-yes-it-exists)
153-
- [💡 Explanation:](#-explanation-52)
153+
- [💡 Explanation:](#-explanation-51)
154154
- [▶ Ellipsis \*](#-ellipsis-)
155-
- [💡 Explanation](#-explanation-53)
155+
- [💡 Explanation](#-explanation-52)
156156
- [▶ Inpinity](#-inpinity)
157-
- [💡 Explanation:](#-explanation-54)
157+
- [💡 Explanation:](#-explanation-53)
158158
- [▶ Let's mangle](#-lets-mangle)
159-
- [💡 Explanation:](#-explanation-55)
159+
- [💡 Explanation:](#-explanation-54)
160160
- [Section: Appearances are deceptive!](#section-appearances-are-deceptive)
161161
- [▶ Skipping lines?](#-skipping-lines)
162-
- [💡 Explanation](#-explanation-56)
162+
- [💡 Explanation](#-explanation-55)
163163
- [▶ Teleportation](#-teleportation)
164-
- [💡 Explanation:](#-explanation-57)
164+
- [💡 Explanation:](#-explanation-56)
165165
- [▶ Well, something is fishy...](#-well-something-is-fishy)
166-
- [💡 Explanation](#-explanation-58)
166+
- [💡 Explanation](#-explanation-57)
167167
- [Section: Miscellaneous](#section-miscellaneous)
168168
- [`+=` is faster](#--is-faster)
169-
- [💡 Explanation:](#-explanation-59)
169+
- [💡 Explanation:](#-explanation-58)
170170
- [▶ Let's make a giant string!](#-lets-make-a-giant-string)
171-
- [💡 Explanation](#-explanation-60)
171+
- [💡 Explanation](#-explanation-59)
172172
- [▶ Slowing down `dict` lookups \*](#-slowing-down-dict-lookups-)
173-
- [💡 Explanation:](#-explanation-61)
173+
- [💡 Explanation:](#-explanation-60)
174174
- [▶ Bloating instance `dict`s \*](#-bloating-instance-dicts-)
175-
- [💡 Explanation:](#-explanation-62)
175+
- [💡 Explanation:](#-explanation-61)
176176
- [▶ Minor Ones \*](#-minor-ones-)
177-
- [Contributing](#contributing)
178-
- [Acknowledgements](#acknowledgements)
179-
- [Some nice Links!](#some-nice-links)
180-
- [🎓 License](#-license)
181-
- [Surprise your friends as well!](#surprise-your-friends-as-well)
182-
- [Need a pdf version?](#need-a-pdf-version)
177+
- [‫ مشارکت](#-مشارکت)
178+
- [‫ تقدیر و تشکر](#-تقدیر-و-تشکر)
179+
- [‫ چند لینک جالب!](#-چند-لینک-جالب)
180+
- [‫ 🎓 مجوز](#--مجوز)
181+
- [‫ دوستانتان را هم شگفت‌زده کنید!](#-دوستانتان-را-هم-شگفتزده-کنید)
182+
- [‫ آیا به یک نسخه pdf نیاز دارید؟](#-آیا-به-یک-نسخه-pdf-نیاز-دارید)
183183

184184
<!-- tocstop -->
185185

@@ -3893,25 +3893,26 @@ What makes those dictionaries become bloated? And why are newly created objects
38933893
---
38943894
---
38953895
3896-
# Contributing
3896+
# &#x202b; مشارکت
38973897
3898-
A few ways in which you can contribute to wtfpython,
3898+
&#x202b;چند روشی که می‌توانید در wtfpython مشارکت داشته باشید:
38993899
3900-
- Suggesting new examples
3901-
- Helping with translation (See [issues labeled translation](https://github.com/satwikkansal/wtfpython/issues?q=is%3Aissue+is%3Aopen+label%3Atranslation))
3902-
- Minor corrections like pointing out outdated snippets, typos, formatting errors, etc.
3903-
- Identifying gaps (things like inadequate explanation, redundant examples, etc.)
3904-
- Any creative suggestions to make this project more fun and useful
3900+
- &#x202b; پیشنهاد مثال‌های جدید
3901+
- &#x202b; کمک به ترجمه (به [مشکلات برچسب ترجمه](https://github.com/satwikkansal/wtfpython/issues?q=is%3Aissue+is%3Aopen+label%3Atranslation) مراجعه کنید)
3902+
- &#x202b; اصلاحات جزئی مثل اشاره به تکه‌کدهای قدیمی، اشتباهات تایپی، خطاهای قالب‌بندی و غیره.
3903+
- &#x202b; شناسایی نواقص (مانند توضیحات ناکافی، مثال‌های تکراری و ...)
3904+
- &#x202b; هر پیشنهاد خلاقانه‌ای برای مفیدتر و جذاب‌تر شدن این پروژه
39053905
3906-
Please see [CONTRIBUTING.md](/CONTRIBUTING.md) for more details. Feel free to create a new [issue](https://github.com/satwikkansal/wtfpython/issues/new) to discuss things.
3906+
&#x202b; برای اطلاعات بیشتر [CONTRIBUTING.md](/CONTRIBUTING.md) را مشاهده کنید. برای بحث درباره موارد مختلف می‌توانید یک [مشکل جدید](https://github.com/satwikkansal/wtfpython/issues/new) ایجاد کنید.
39073907
3908-
PS: Please don't reach out with backlinking requests, no links will be added unless they're highly relevant to the project.
3908+
&#x202b; نکته: لطفاً برای درخواست بک‌لینک (backlink) تماس نگیرید. هیچ لینکی اضافه نمی‌شود مگر اینکه ارتباط بسیار زیادی با پروژه داشته باشد.
39093909
3910-
# Acknowledgements
3910+
# &#x202b; تقدیر و تشکر
39113911
3912-
The idea and design for this collection were initially inspired by Denys Dovhan's awesome project [wtfjs](https://github.com/denysdovhan/wtfjs). The overwhelming support by Pythonistas gave it the shape it is in right now.
3912+
&#x202b; ایده و طراحی این مجموعه ابتدا از پروژه عالی [wtfjs](https://github.com/denysdovhan/wtfjs) توسط Denys Dovhan الهام گرفته شد. حمایت فوق‌العاده‌ جامعه پایتون باعث شد پروژه به شکل امروزی خود درآید.
39133913
3914-
#### Some nice Links!
3914+
3915+
#### &#x202b; چند لینک جالب!
39153916
* https://www.youtube.com/watch?v=sH4XF6pKKmk
39163917
* https://www.reddit.com/r/Python/comments/3cu6ej/what_are_some_wtf_things_about_python
39173918
* https://sopython.com/wiki/Common_Gotchas_In_Python
@@ -3922,7 +3923,7 @@ The idea and design for this collection were initially inspired by Denys Dovhan'
39223923
* https://github.com/wemake-services/wemake-python-styleguide/search?q=wtfpython&type=Issues
39233924
* WFTPython discussion threads on [Hacker News](https://news.ycombinator.com/item?id=21862073) and [Reddit](https://www.reddit.com/r/programming/comments/edsh3q/what_the_fck_python_30_exploring_and/).
39243925
3925-
# 🎓 License
3926+
# &#x202b; 🎓 مجوز
39263927
39273928
[![WTFPL 2.0][license-image]][license-url]
39283929
@@ -3931,15 +3932,16 @@ The idea and design for this collection were initially inspired by Denys Dovhan'
39313932
[license-url]: http://www.wtfpl.net
39323933
[license-image]: https://img.shields.io/badge/License-WTFPL%202.0-lightgrey.svg?style=flat-square
39333934
3934-
## Surprise your friends as well!
3935+
## &#x202b; دوستانتان را هم شگفت‌زده کنید!
3936+
3937+
&#x202b; اگر از wtfpython خوشتان آمد، می‌توانید با این لینک‌های سریع آن را با دوستانتان به اشتراک بگذارید:
39353938
3936-
If you like wtfpython, you can use these quick links to share it with your friends,
3939+
&#x202b; [توییتر](https://twitter.com/intent/tweet?url=https://github.com/satwikkansal/wtfpython&text=If%20you%20really%20think%20you%20know%20Python,%20think%20once%20more!%20Check%20out%20wtfpython&hashtags=python,wtfpython) | [لینکدین](https://www.linkedin.com/shareArticle?url=https://github.com/satwikkansal&title=What%20the%20f*ck%20Python!&summary=If%20you%20really%20thing%20you%20know%20Python,%20think%20once%20more!) | [فیسبوک](https://www.facebook.com/dialog/share?app_id=536779657179021&display=page&href=https%3A%2F%2Fgithub.com%2Fsatwikkansal%2Fwtfpython&quote=If%20you%20really%20think%20you%20know%20Python%2C%20think%20once%20more!)
39373940
3938-
[Twitter](https://twitter.com/intent/tweet?url=https://github.com/satwikkansal/wtfpython&text=If%20you%20really%20think%20you%20know%20Python,%20think%20once%20more!%20Check%20out%20wtfpython&hashtags=python,wtfpython) | [Linkedin](https://www.linkedin.com/shareArticle?url=https://github.com/satwikkansal&title=What%20the%20f*ck%20Python!&summary=If%20you%20really%20thing%20you%20know%20Python,%20think%20once%20more!) | [Facebook](https://www.facebook.com/dialog/share?app_id=536779657179021&display=page&href=https%3A%2F%2Fgithub.com%2Fsatwikkansal%2Fwtfpython&quote=If%20you%20really%20think%20you%20know%20Python%2C%20think%20once%20more!)
39393941
3940-
## Need a pdf version?
3942+
## &#x202b; آیا به یک نسخه pdf نیاز دارید؟
39413943
3942-
I've received a few requests for the pdf (and epub) version of wtfpython. You can add your details [here](https://form.jotform.com/221593245656057) to get them as soon as they are finished.
39433944
3945+
&#x202b; من چند درخواست برای نسخه PDF (و epub) کتاب wtfpython دریافت کرده‌ام. برای دریافت این نسخه‌ها به محض آماده شدن، می‌توانید اطلاعات خود را [اینجا](https://form.jotform.com/221593245656057) وارد کنید.
39443946
3945-
**That's all folks!** For upcoming content like this, you can add your email [here](https://form.jotform.com/221593598380062).
3947+
&#x202b; **همین بود دوستان!** برای دریافت مطالب آینده مشابه این، می‌توانید ایمیل خود را [اینجا](https://form.jotform.com/221593598380062) اضافه کنید.

0 commit comments

Comments
 (0)