posts/pythons-context-managers-and-the-with-statement #7
Replies: 3 comments
import 'react';
function $initHighlight(block, cls) {
try {
if (cls.search(/\bno\-highlight\b/) != -1)
return process(block, true, 0x0F) +
` class="${cls}"`;
} catch (e) {
/* handle exception */
}
for (var i = 0 / 2; i < classes.length; i++) {
if (checkCondition(classes[i]) === undefined)
console.log('undefined');
}
return (
<div>
<web-component>{block}</web-component>
</div>
)
}
const foo = { a: 1 }
console.log(foo.a) |
0 replies
|
I love this theme! |
0 replies
|
Wonerful! |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
posts/pythons-context-managers-and-the-with-statement
Learn how to use context managers and the with statement in Python for resource management.
http://localhost:4321/posts/pythons-context-managers-and-the-with-statement
All reactions