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
def _make_shift_statistic(self): | |
"""Make result and persent statistic by shift. | |
""" | |
result = self._give_by_shift() | |
result.pop('rock_mass', None) | |
return self.statistic( | |
result, | |
'Повахтовый выход, %', | |
'Повахтовая добыча м\u00B3' | |
) |
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
class Dad: | |
def print_shit(self, shit): | |
print(shit) | |
class Son(Dad): | |
def some_function(self): | |
def mini_function(word): |
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
class Grandpa: | |
def print_some_shit(self, item): | |
print(item) | |
class Dad(Grandpa): | |
def __init__(self): | |
super().__init__() | |
self.shit = 'hello' | |
class Child(Dad): |
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
#!/usr/bin/env python | |
# | |
# Copyright 2012 Patrick Hetu <[email protected]> | |
# | |
# This program is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation, either version 3 of the License, or | |
# (at your option) any later version. | |
# | |
# This program is distributed in the hope that it will be useful, |