wildekat
wildekat
In section 10.1, Table 10.1 "Operations on Bytes and Bytearrays": > `s.maketrans(x [, y [, z]])` Makes a translation table for `s.translate()`. For `bytes` and `bytearray`, `maketrans()` takes two arguments:...
Page 308, last paragraph: `round(x [, n])` Rounds the result of rounding... Should read: Returns the result Table 10.9 String Operators and Methods `s.format_map(m)` Formats `s` with substitutions taking from...
9.15.9 "Go a directory with a collection of files" Should read: Go to a directory 9.15.11 "copious amounts of information is available" are available ? 9.15.15 dead `return` statement: ```python...
Section 8.14, 2nd paragraph: For example, **is** your package looks like this
In the `comments` generator of section 2.15, the way `t[0]` is used does not seem safe: ```python comments = (t for t in lines if t[0] == '#') # All...
### ZIM(s) location https://library.kiwix.org/viewer#wiktionary_nl_all_maxi_2024-02 ### Recipe(s) URL https://farm.openzim.org/recipes/wiktionary_nl ### Readers tested - [ ] Kiwix-serve on iOS (iPad / iPhone) - [X] Kiwix-serve on Android (phone or tablet) - [X]...
This update gets rid of `relaypos` altogether and calculates `numtries` using a reliable ceiling division method, thus eliminating the two bugs outlined in detail in https://github.com/ValdikSS/tor-relay-scanner/issues/16. The rest is just...
Пожалуйста, посмотрите на этот фрагмент. Здесь не надо вычитать 1: ```python relaynum = min(NUM_RELAYS, len(relays) - relaypos - 1) ``` В следующей строке `relaynum` используется так: ```python test_relays = [TorRelay(relays[x])...