mirror of
https://github.com/pybind/pybind11.git
synced 2026-04-20 06:49:25 +00:00
chore: drop Python 3.5 (#3719)
* chore: drop Python 3.5 support * chore: more fstrings with flynt's help * ci: drop Python 3.5 * chore: bump dependency versions * docs: touch up py::args * tests: remove deprecation warning * Ban smartquotes * Very minor tweaks (by-product of reviewing PR #3719). Co-authored-by: Aaron Gokaslan <skylion.aaron@gmail.com> Co-authored-by: Ralf W. Grosse-Kunstleve <rwgk@google.com>
This commit is contained in:
@@ -13,7 +13,7 @@ def test_override(capture, msg):
|
||||
self.data = "Hello world"
|
||||
|
||||
def run(self, value):
|
||||
print("ExtendedExampleVirt::run(%i), calling parent.." % value)
|
||||
print(f"ExtendedExampleVirt::run({value}), calling parent..")
|
||||
return super().run(value + 1)
|
||||
|
||||
def run_bool(self):
|
||||
@@ -24,7 +24,7 @@ def test_override(capture, msg):
|
||||
return "override1"
|
||||
|
||||
def pure_virtual(self):
|
||||
print("ExtendedExampleVirt::pure_virtual(): %s" % self.data)
|
||||
print(f"ExtendedExampleVirt::pure_virtual(): {self.data}")
|
||||
|
||||
class ExtendedExampleVirt2(ExtendedExampleVirt):
|
||||
def __init__(self, state):
|
||||
|
||||
Reference in New Issue
Block a user