private-attribute-cpp 1.3.1__tar.gz → 1.3.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: private_attribute_cpp
3
- Version: 1.3.1
3
+ Version: 1.3.2
4
4
  Summary: A Python package that provides a way to define private attributes in C++ implementation.
5
5
  Home-page: https://github.com/Locked-chess-official/private_attribute_cpp
6
6
  Author: HuangHaoHua
@@ -1930,7 +1930,7 @@ PrivateAttrType_create(PyTypeObject* type, PrivateAttrCreationData& data)
1930
1930
  return nullptr;
1931
1931
  }
1932
1932
 
1933
- PyObject* new_type = type->tp_base->tp_new(type, type_args, data.base_kwds);
1933
+ PyObject* new_type = PyType_Type.tp_new(type, type_args, data.base_kwds);
1934
1934
  Py_DECREF(type_args);
1935
1935
 
1936
1936
  if (!new_type) {
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: private_attribute_cpp
3
- Version: 1.3.1
3
+ Version: 1.3.2
4
4
  Summary: A Python package that provides a way to define private attributes in C++ implementation.
5
5
  Home-page: https://github.com/Locked-chess-official/private_attribute_cpp
6
6
  Author: HuangHaoHua
@@ -19,7 +19,7 @@ readme = open('README.md').read()
19
19
 
20
20
  setup(
21
21
  name='private_attribute_cpp',
22
- version='1.3.1',
22
+ version='1.3.2',
23
23
  author="HuangHaoHua",
24
24
  author_email="13140752715@example.com",
25
25
  description='A Python package that provides a way to define private attributes in C++ implementation.',