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
| keybinds clear-defaults=true { | |
| locked { | |
| bind "Ctrl b" { SwitchToMode "normal"; } | |
| } | |
| pane { | |
| bind "left" { MoveFocus "left"; } | |
| bind "down" { MoveFocus "down"; } | |
| bind "up" { MoveFocus "up"; } | |
| bind "right" { MoveFocus "right"; } | |
| bind "c" { SwitchToMode "renamepane"; PaneNameInput 0; } |
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
| >>> class D(object): | |
| class E(object): | |
| pass | |
| def __init__(self): | |
| self.e = D.E() # E must be referred to as part of the D scope | |
| >>> d=D() | |
| >>> d.e | |
| <__main__.E object at 0x011D4FF0> # the representation of the nested class E misrepresents its scope |
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
| >>> class Mcl(type): pass | |
| >>> class A: __metaclass__ = Mcl | |
| >>> class B: | |
| class __metaclass__(type): pass | |
| >>> class C: | |
| class __metaclass__(type): pass |