sitecustomize.py 文件源码

python
阅读 24 收藏 0 点赞 0 评论 0

项目:specto 作者: mrknow 项目源码 文件源码
def raw_input(prompt=''):
            #the original raw_input would only remove a trailing \n, so, at
            #this point if we had a \r\n the \r would remain (which is valid for eclipse)
            #so, let's remove the remaining \r which python didn't expect.
            ret = original_raw_input(prompt)

            if ret.endswith('\r'):
                return ret[:-1]

            return ret
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号