diff options
| author | say <[email protected]> | 2023-03-31 10:07:15 +0300 |
|---|---|---|
| committer | say <[email protected]> | 2023-03-31 10:07:15 +0300 |
| commit | e163b69a87c70baac07bd99142916735e0c283fa (patch) | |
| tree | 73e22c0f9e975ff6dc70f38534ec84588587d25c /library/cpp/pybind/pod.cpp | |
| parent | 6be8bf780352147bcac5afec43505883b69229a0 (diff) | |
Swith flake8 to custom lint schema
Diffstat (limited to 'library/cpp/pybind/pod.cpp')
| -rw-r--r-- | library/cpp/pybind/pod.cpp | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/library/cpp/pybind/pod.cpp b/library/cpp/pybind/pod.cpp deleted file mode 100644 index 3cf030e537b..00000000000 --- a/library/cpp/pybind/pod.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include "pod.h" - -namespace NPyBind { - class TPODAttrGetter: public TBaseAttrGetter<TPOD> { - public: - bool GetAttr(PyObject*, const TPOD& self, const TString& attr, PyObject*& res) const override { - res = self.GetAttr(attr.c_str()); - return res != nullptr; - } - }; - - TPODTraits::TPODTraits() - : MyParent("TPOD", "simple struct") - { - AddGetter("", new TPODAttrGetter); - } - -} |
