update about_py and python_by_example + image fixes - #14
Conversation
✅ Deploy Preview for majestic-griffin-10b166 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
Thanks @Zahra-khanzadeh.
This is an interesting problem. I'll have a think about how we might be able to fix this automatically. I can't think of an easy way just yet. Is |
|
Thanks a lot, @mmcky .I really appreciate your time and effort on checking the parentheses issue.
Actually, there are a few other small issues I've noticed as well.
Thanks again, Matt. The RTL layout is improving so much with each update, and I really appreciate all the work you're putting into it. |
|
great feedback - thanks @Zahra-khanzadeh |
|
I'll merge this PR just to keep the |
…160) Recovers the sync failures recorded as lecture-python-programming#610 and #614, without re-translating anything. Source PR #595 changed exactly two lines of about_py.md — the capitalisation `Pytorch` -> `PyTorch` in two places. That fix is already present here, applied by hand in #124 on 2026-06-19: the target carries `PyTorch` three times and `Pytorch` zero times, matching source. The source has not moved on this lecture since #595, so only the state file was stale. A `translate forward` regeneration was attempted first and deliberately discarded. It rewrote 266 lines to deliver a two-character casing fix that was already applied, and it dropped translator content — the tool's own triage flagged an added PyTorch/MATLAB sentence and a Java code comment as "TARGET has additions that were lost during resync", and `git log` traces that content to Zahra's 2025-10-30 commit (#14). Per the 2026-08-20 ruling on QuantEcon/action-translation#276, a natively-translated lecture is not regenerated when a deterministic repair will do. `model`, `tool-version` and `section-count` are deliberately left recording how the text was actually produced, since nothing was regenerated. Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>



Hi @mmcky
I've updated the
about_py.mdandpython_by_example.mdlectures:-Updated translated text to match the latest English versions
-Adjusted image folders and paths accordingly
-Adjusted the placement of parentheses in code examples included in the explanation (in RTL layout, parentheses were displayed in reverse order, for example
()appendinstead ofappend(), It might seem a bit odd, but in Persian, when we read technical text and encounter an English expression, we read it left to right even in the middle of a Persian paragraph :) , so I manually flipped them in the Markdown to ensure correct visual alignment on the website.)Thanks!