class Something:
def __init__(x, y, z):
self.x = x
self.y = y
self.z = z
def some_method():
pass
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const EventEmitter = require('events'); | |
class MyEmitter extends EventEmitter { } | |
let e = new MyEmitter() | |
const DriveMainLoop = Symbol("DriveMainLoop"); | |
// eventBus must be the kernel/task this sleeper belongs to | |
function Sleeper(eventBus, doneToken) { | |
return { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from flask import Flask | |
class DAO: | |
def __init__(self): | |
self.data = [] | |
def App(dao): | |
app = Flask("example") |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.