Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

?? show less info than ? #10531

Closed
blackmagic02881 opened this issue May 11, 2017 · 1 comment
Closed

?? show less info than ? #10531

blackmagic02881 opened this issue May 11, 2017 · 1 comment
Milestone

Comments

@blackmagic02881
Copy link
Contributor

Python 3.5.2 |Continuum Analytics, Inc.| (default, Jul 2 2016, 17:52:12)
Type 'copyright', 'credits' or 'license' for more information
IPython 6.1.0.dev -- An enhanced Interactive Python. Type '?' for help.

In [1]: 1
Out[1]: 1

In [2]: _?
Type: int
String form: 1
Docstring:
int(x=0) -> integer
int(x, base=10) -> integer

Convert a number or string to an integer, or return 0 if no arguments
are given. If x is a number, return x.int(). For floating point
numbers, this truncates towards zero.

If x is not a number or if base is given, then x must be a string,
bytes, or bytearray instance representing an integer literal in the
given base. The literal can be preceded by '+' or '-' and be surrounded
by whitespace. The base defaults to 10. Valid bases are 0 and 2-36.
Base 0 means to interpret the base from the string as an integer literal.

int('0b100', base=0)
4

In [3]: _??
Type: int
String form: 1

@Carreau
Copy link
Member

Carreau commented May 11, 2017

Closed by #10532

@Carreau Carreau closed this as completed May 11, 2017
@Carreau Carreau added this to the 6.1 milestone May 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants