Try to make as _____ misfakes as possible.
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Try to make as _____ misfakes as possible.相关的知识,希望对你有一定的参考价值。
1. 答案:few2. as...as中间加形容词原级修饰可数名词mistakes. 而且句意应该是“尽可能少的错误”,所以用few.
参考资料:英语牛人团团员
参考技术A few 参考技术B rtpython with as用法
with as用途:取代原来的try...finally,主要是用于处理异常
基本语法;with EXPRESSION [ as VARIABLE] WITH-BLOCK
基本要求:with所求值的对象必须有一个__enter__()方法,一个__exit__()方法。
紧跟with后面的语句被求值后,返回对象的__enter__()方法被调用,这个方法的返回值将被赋值给as后面的变量。
当with后面的代码块全部被执行完之后,将调用前面返回对象的__exit__()方法。
class Sample: def __enter__(self): print "In __enter__()" return "Foo" def __exit__(self, type, value, trace): print "In __exit__()" def get_sample(): return Sample() with get_sample() as sample: print "sample:", sample
以上是关于Try to make as _____ misfakes as possible.的主要内容,如果未能解决你的问题,请参考以下文章
在Linux下安装Python执行make命令时报错“Failed to build these modules: _ctypes“
Incorrect key file for table '/tmp/#sql_882_0.MYI'; try to repair it
DVWA (damn vulnerable web application)_try to know hackers
[SQL Server]无法解决 equal to 运算中 "SQL_Latin1_General_CP1_CI_AS" 和 "Chinese_PRC_CI_AS&quo
[SQL Server]无法解决 equal to 运算中 "SQL_Latin1_General_CP1_CI_AS" 和 "Chinese_PRC_CI_AS&quo