This file contains 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
# 1. 在类中, 省略两个参数, 此时相当 super(cls, self) | |
class A1: | |
def spam(self): | |
print("当前类 A1, 当前对象:", self, ", 类 A1 本身的 mro:", A1.__mro__) | |
# 相当 super(A1, self) | |
super().spam() | |
class B1: | |
def spam(self): |
This file contains 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
/* | |
* Copyright (C) 2011 The Android Open Source Project | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
This file contains 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
// ==UserScript== | |
// @name SteamRedeemKeys | |
// @namespace https://steamcn.com/t303915-1-1 | |
// @version 1.4.2 | |
// @description Steam网页激活 —— 批量激活 | |
// @author Makazeu | |
// @match https://store.steampowered.com/account/registerkey | |
// @grant GM_addStyle | |
// ==/UserScript== |