Browse Source

Str use case

pull/42/head
Jure Šorn 5 years ago
parent
commit
e2802f39d9
2 changed files with 2 additions and 2 deletions
  1. 2
      README.md
  2. 2
      index.html

2
README.md

@ -957,7 +957,7 @@ class <name>:
print(<el>)
print(f'{<el>}')
raise Exception(<el>)
logging.debug(<el>)
loguru.logger.debug(<el>)
csv.writer(<file>).writerow([<el>])
```

2
index.html

@ -924,7 +924,7 @@ creature = Creature(Point(<span class="hljs-number">0</span>, <span class="hljs
<div><h4 id="strusecases">Str() use cases:</h4><pre><code class="python language-python hljs">print(&lt;el&gt;)
print(<span class="hljs-string">f'<span class="hljs-subst">{&lt;el&gt;}</span>'</span>)
<span class="hljs-keyword">raise</span> Exception(&lt;el&gt;)
logging.debug(&lt;el&gt;)
loguru.logger.debug(&lt;el&gt;)
csv.writer(&lt;file&gt;).writerow([&lt;el&gt;])
</code></pre></div>

Loading…
Cancel
Save