What you have is a float literal without the trailing zero, which you then access the __truediv__method of. It's not an operator in itself; the first dot is part of the float value, and the second is the dot operator to access the objects properties and methods.

You can reach the same point by doing the following.

>>> f = 1.
>>> f
1.0
>>> f.__floordiv__
<method-wrapper '__floordiv__' of float object at 0x7f9fb4dc1a20>

Another example

>>> 1..__add__(2.)
3.0

Here we add 1.0 to 2.0, which obviously yields 3.0.

最新文章

  1. BroadcastReceiver注册、使用及其权限
  2. hibernate中数据库方言
  3. sql2012还原sql2008备份文件语句
  4. Http概述(一)
  5. ARM2440 LCD实验
  6. Qt之窗体透明 (三种不同的方法和效果)
  7. OTG_FS_ID功能及引申
  8. TCSRM 593 div2(1000)(dp)
  9. 如何让Activiti-Explorer使用sql server数据库
  10. DEDECMS栏目自定义字段添加
  11. bzoj3721
  12. localStorage存储JSON对象的小方法
  13. appium自动化测试
  14. 使用Boost.PropertyTree处理XML、JSON和INI数据
  15. ES6就是ES2015 的主要内容
  16. vbs 解析html文档的方法
  17. js 防止重复点击
  18. 【BZOJ4034】【HAOI2015】树上操作
  19. JSON 序列化与反序列化, 与XML相互转换.
  20. Activiti的25张表

热门文章

  1. leetcode-47-全排列②
  2. Django项目:堡垒机(Linux服务器主机管理系统)--03--03堡垒机在Linux系统里记录会话日志02/02
  3. 利用VS2015自带的报表制作报表
  4. 一个因为系统字号设置导致的rem计算渲染异常问题
  5. 第六篇:fastJson常用方法总结
  6. &lt;a&gt;标签的SEO优化细节
  7. Win10命令提示符git log中文乱码的解决方案
  8. 网页qq在线交谈
  9. open 和 release
  10. springboot启动过程