diff options
author | Anthon van der Neut <anthon@mnt.org> | 2021-03-09 09:02:50 +0100 |
---|---|---|
committer | Anthon van der Neut <anthon@mnt.org> | 2021-03-09 09:02:50 +0100 |
commit | e73562c6f14d1d71a9fea174d58465e1b13f68af (patch) | |
tree | 309851cca7d411b31c27753555871d493282c7f0 /scalarbool.py | |
parent | 96839d9f64f4698bdc519cbfbd48d51178460714 (diff) | |
download | ruamel.yaml-e73562c6f14d1d71a9fea174d58465e1b13f68af.tar.gz |
remove python 2 specific code
add future deprecation warning to old style functions
Diffstat (limited to 'scalarbool.py')
-rw-r--r-- | scalarbool.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/scalarbool.py b/scalarbool.py index fc8f8c2..3862464 100644 --- a/scalarbool.py +++ b/scalarbool.py @@ -1,7 +1,5 @@ # coding: utf-8 -from __future__ import print_function, absolute_import, division, unicode_literals - """ You cannot subclass bool, and this is necessary for round-tripping anchored bool values (and also if you want to preserve the original way of writing) @@ -18,8 +16,6 @@ if False: # MYPY __all__ = ['ScalarBoolean'] -# no need for no_limit_int -> int - class ScalarBoolean(int): def __new__(cls, *args, **kw): |