开发者交流平台
开发者交流平台

通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。

bj
登录
  • 友情链接
站内
decorator

decorator

go

如何在`QRunnable`类内部使用`pyqtSlot()`装饰器正确地为函数添加类型提示?

英文: How to correctly type-hint a function with `pyqtSlot()` decorator inside `QRunnable` class? 问题 状...
huangapple 2023年8月9日174评论pyqt5 python
go

如何正确在`QRunnable`类中使用`pyqtSlot()`装饰器为函数添加类型提示?

英文: How to correctly type-hint a function with `pyqtSlot()` decorator inside `QRunnable` class? 问题 *...
huangapple 2023年8月9日166评论pyqt5 python
go

这个 ‘nonlocal’ 关键字在这个装饰器中是做什么的?

英文: What is this 'nonlocal' keyword is doing is this decorator? 问题 我创建了这个装饰器来将函数的输出保存到一个CSV文...
huangapple 2023年7月27日171评论python syntax
go

Python装饰器用于属性的setter和deleter的机制是什么?

英文: What are the mechanics of Python decorator for property setter and deleter? 问题 Python属性的主题在这里得到了...
huangapple 2023年7月10日151评论properties python
go

有没有办法在模板装饰器中使用的静态方法中修改类属性?

英文: Is there a way to modify class attributes in static methods used in template decorator? 问题 我正在学习...
huangapple 2023年7月7日158评论c++ templates
go

如何导出对象的某些属性到字典中

英文: How to export to dict some properties of an object 问题 我有一个Python类,其中包含几个属性。我想要实现一个方法,该方法将一些属性作为字...
huangapple 2023年6月29日152评论properties python
go

使用带参数的外部库装饰器包装

英文: Wrapping a decorator from an external library with arguments 问题 我正在使用cachetools库,并且我想要包装该库的装饰器形式...
huangapple 2023年6月29日171评论decorator python
go

密码装饰器

英文: Password decorator 问题 I have to solve the following problem which doesn't allow me to change the...
huangapple 2023年6月13日138评论decorator python
go

有没有一些类似的替代方法来同时使用classmethod和property装饰器?

英文: What are some similar alternatives to using classmethod and property decorators together? 问题 有哪些...
huangapple 2023年6月1日154评论decorator python
go

Python 使用 @ 符号装饰一个对象。

英文: python decorating an object with @ 问题 以下是您的代码的翻译部分: class Sandwich(): height = 5 width = 8 def i...
huangapple 2023年6月1日164评论oop python

文章导航

1 2 3
name
开发者交流平台
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
文章117266 留言 4 访客17023496

热门标签

java node.js html python go c# pandas flutter javascript json typescript css sql arrays spring-boot android reactjs spring c++ r

悟已往之不谏,知来者之可追!

今日
00%
已00小时
本周
00%
已过00天
本月
00%
已过00天
今年
00%
已是00月

Copyright ©  开发者交流平台 版权所有.

闽 ICP 备 2022019110 号 - 1
  • 开发者交流平台

    本页二维码