Python document string

Source: Internet
Author: User

Import mathdir (math) [' __doc__ ', ' __name__ ', ' __package__ ', ' ACOs ', ' acosh ', ' asin ', ' Asinh ', ' atan ', ' atan2 ', ' Atanh ', ' C Eil ', ' copysign ', ' cos ', ' cosh ', ' degrees ', ' e ', ' Erf ', ' erfc ', ' exp ', ' expm1 ', ' fabs ', ' factorial ', ' floor ', ' fmod ', ' fre ' XP ', ' fsum ', ' gamma ', ' hypot ', ' isinf ', ' isNaN ', ' ldexp ', ' lgamma ', ' Log ', ' log10 ', ' log1p ', ' modf ', ' pi ', ' pow ', ' radians  ', ' sin ', ' sinh ', ' sqrt ', ' tan ', ' tanh ', ' trunc ']math.ceil.__doc__ ' ceil (x) \n\nreturn the ceiling of x as a float.\nthis is The smallest integral value >= x. '

Dir (Math): How to display Math

Introduction to the Math.ceil.__doc__:ceil method (two underscore doc two underscores)


This article is from the "leaf" blog, please be sure to keep this source http://fshine.blog.51cto.com/6122608/1571519

Python document string

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.