According to http://bugs.python.org/msg176429 from http://bugs.python.org/issue12370:
class C(A, B, metaclass=meta):
def f(self):
return __class__
To be compiled approximately like this:
https://drive.google.com/open?id=1_pL0-pWX833hISo__Ho-Z3KkW-eePFsQ |
According to http://bugs.python.org/msg176429 from http://bugs.python.org/issue12370:
class C(A, B, metaclass=meta):
def f(self):
return __class__
To be compiled approximately like this:
From b34d733deefac7fb7f96bf5408ae705c49e764fa Mon Sep 17 00:00:00 2001 | |
From: Isaiah Peng <[email protected]> | |
Date: Fri, 4 Mar 2016 11:17:40 +0100 | |
Subject: [PATCH 1/1] include jquery and materializecss for test | |
--- | |
karma.conf.js | 2 ++ | |
package.json | 2 ++ | |
src/Select.js | 67 ++++++++++++++++++++++++++++++----------------------------- | |
3 files changed, 38 insertions(+), 33 deletions(-) |
require 'fileutils' | |
require 'taglib' | |
NAME = "©nam" | |
Dir.glob("./**/*.m4a").each do |f| | |
TagLib::MP4::File.open(f) do |mp4| | |
name = mp4.tag.item_list_map[NAME] | |
name = name.to_string_list.first | |
dir = File.dirname(f) | |
name = "#{dir}/#{name}.m4a" |
'atom-text-editor[data-grammar~="haskell"]': | |
'': 'haskell-ghc-mod:check-file' | |
'': 'haskell-ghc-mod:lint-file' | |
'ctrl-alt-t': 'haskell-ghc-mod:show-type' | |
'ctrl-alt-i': 'haskell-ghc-mod:show-info' | |
'ctrl-alt-T': 'haskell-ghc-mod:insert-type' | |
'': 'haskell-ghc-mod:show-info-fallback-to-type' | |
'ctrl-alt-I': 'haskell-ghc-mod:insert-import' | |
'body': |
# Insert your prefered key mappings here. | |
unmap h | |
unmap l | |
map h previousTab | |
map l nextTab | |
map u restoreTab | |
map d removeTab | |
map b Vomnibar.activateTabSelection | |
map t Vomnibar.activateInNewTab |
class Base | |
def xtest(foo:, bar:, **extra) | |
puts "base: #{foo}, #{bar}" | |
end | |
end | |
class Artzt < Base | |
def xtest(foo:, bar:, blah:) | |
super | |
puts "child: #{foo}, #{bar} #{blah}" |
unmap h | |
unmap l | |
map h previousTab | |
map l nextTab | |
map u restoreTab | |
map d removeTab | |
map b Vomnibar.activateTabSelection | |
map t Vomnibar.activateInNewTab | |
map <c-o> goBack |
class Enumerator | |
class Lazy | |
def initialize(coll) | |
@lazy = Yid.new do |yielder| | |
if block_given? | |
coll.each do |x| | |
yield yielder, x | |
end | |
else |
class Fib | |
def self.fib | |
a, b = [0, 1] | |
s = 1..Float::INFINITY | |
Enumerator::Lazy.new(s.lazy) do |yielder, val| | |
a, b = b, a + b | |
yielder << a | |
end | |
end | |
end |