/
githubmirror
/
wtfpython
Обзор
Документация
Войти
/
githubmirror
/
wtfpython
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
wtfpython
Зеркало из
https://github.com/satwikkansal/wtfpython
Следить
1
Форк
0
Избранное
0
GigaIDE Cloud
SK
Satwik Kansal
Merge pull request #380 from nifadyev/fix/#369/fix-markdownlint-errors-1
2 месяца назад
9323b86
Описание
В избранном
0
Следят
1
Языки
Python
Сообщить о нарушении
master
Ветки:
3
Коммиты:
670
Теги:
2
Код
.github
Fix markdownlint errors part 1
2 месяца назад
images
Delete unused images
9 месяцев назад
irrelevant
Delete cli package because it is not convinient to use
9 месяцев назад
snippets
Configure Nox and basic Poetry support
9 месяцев назад
translations
Fix liniting issues
2 месяца назад
.gitattributes
Add .gitattributes
8 лет назад
.gitignore
Delete cli package because it is not convinient to use
9 месяцев назад
.markdownlint.yaml
Setup markdownlint Github Action
4 месяца назад
.pre-commit-config.yaml
Fix markdownlint errors part 1
2 месяца назад
.travis.yml
Add automated testing using Travis CI
6 лет назад
CONTRIBUTING.md
#269: Update CONTRIBUTING guidelines, add PR and issue templates
8 месяцев назад
CONTRIBUTORS.md
Fix link to Russian translation
год назад
LICENSE
* Fix .gitignore issue * Add pypi package :rocket:
7 лет назад
README.md
Fix markdownlint errors part 1
2 месяца назад
code-of-conduct.md
Revert code-of-conduct.md
год назад
mixed_tabs_and_spaces.py
* Fix .gitignore issue * Add pypi package :rocket:
7 лет назад
noxfile.py
Configure Nox and basic Poetry support
9 месяцев назад
poetry.lock
Configure Nox and basic Poetry support
9 месяцев назад
pyproject.toml
Configure Nox and basic Poetry support
9 месяцев назад
Readme
Table of Contents
Structure of the Examples
Usage
👀 Examples
Section: Strain your brain!
Section: Slippery Slopes
Section: The Hidden treasures!
Section: Appearances are deceptive!
Section: Miscellaneous
Contributing
Acknowledgements
🎓 License
Surprise your friends as well!
Need a pdf version?
Table of Contents
Structure of the Examples
Usage
👀 Examples
Section: Strain your brain!
▶ First things first! \*
💡 Explanation
▶ Strings can be tricky sometimes
💡 Explanation:
▶ Be careful with chained operations
💡 Explanation:
▶ How not to use `is` operator
💡 Explanation:
▶ Hash brownies
💡 Explanation
▶ Deep down, we're all the same.
💡 Explanation:
▶ Disorder within order \*
💡 Explanation:
▶ Keep trying... \*
💡 Explanation:
▶ For what?
💡 Explanation:
▶ Evaluation time discrepancy
💡 Explanation
▶ `is not ...` is not `is (not ...)`
💡 Explanation
▶ A tic-tac-toe where X wins in the first attempt!
💡 Explanation:
▶ Schrödinger's variable \*
💡 Explanation:
▶ The chicken-egg problem \*
💡 Explanation
▶ Subclass relationships
💡 Explanation:
▶ Methods equality and identity
💡 Explanation
▶ All-true-ation \*
💡 Explanation:
▶ The surprising comma
💡 Explanation:
▶ Strings and the backslashes
💡 Explanation
▶ not knot!
💡 Explanation:
▶ Half triple-quoted strings
💡 Explanation:
▶ What's wrong with booleans?
💡 Explanation:
▶ Class attributes and instance attributes
💡 Explanation:
▶ yielding None
💡 Explanation:
▶ Yielding from... return! \*
💡 Explanation:
▶ Nan-reflexivity \*
💡 Explanation:
▶ Mutating the immutable!
💡 Explanation:
▶ The disappearing variable from outer scope
💡 Explanation:
▶ The mysterious key type conversion
💡 Explanation:
▶ Let's see if you can guess this?
💡 Explanation:
▶ Exceeds the limit for integer string conversion
💡 Explanation:
Section: Slippery Slopes
▶ Modifying a dictionary while iterating over it
💡 Explanation:
▶ Stubborn `del` operation
💡 Explanation:
▶ The out of scope variable
💡 Explanation:
▶ Deleting a list item while iterating
💡 Explanation:
▶ Lossy zip of iterators \*
💡 Explanation:
▶ Loop variables leaking out!
💡 Explanation:
▶ Beware of default mutable arguments!
💡 Explanation:
▶ Catching the Exceptions
💡 Explanation
▶ Same operands, different story!
💡 Explanation:
▶ Name resolution ignoring class scope
💡 Explanation
▶ Rounding like a banker \*
💡 Explanation:
▶ Needles in a Haystack \*
💡 Explanation:
▶ Splitsies \*
💡 Explanation:
▶ Wild imports \*
💡 Explanation:
▶ All sorted? \*
💡 Explanation:
▶ Midnight time doesn't exist?
💡 Explanation:
Section: The Hidden treasures!
▶ Okay Python, Can you make me fly?
💡 Explanation:
▶ `goto`, but why?
💡 Explanation:
▶ Brace yourself!
💡 Explanation:
▶ Let's meet Friendly Language Uncle For Life
💡 Explanation:
▶ Even Python understands that love is complicated
💡 Explanation:
▶ Yes, it exists!
💡 Explanation:
▶ Ellipsis \*
💡 Explanation
▶ Inpinity
💡 Explanation:
▶ Let's mangle
💡 Explanation:
Section: Appearances are deceptive!
▶ Skipping lines?
💡 Explanation
▶ Teleportation
💡 Explanation:
▶ Well, something is fishy...
💡 Explanation
Section: Miscellaneous
▶ `+=` is faster
💡 Explanation:
▶ Let's make a giant string!
💡 Explanation
▶ Slowing down `dict` lookups \*
💡 Explanation:
▶ Bloating instance `dict`s \*
💡 Explanation:
▶ Minor Ones \*
Contributing
Acknowledgements
Some nice Links!
🎓 License
Surprise your friends as well!
Need a pdf version?
README.md
Описание
В избранном
0
Следят
1
Языки
Python
Сообщить о нарушении