oct

oct(x)

Converts an integer number (of any size) to an octal string. The result is a valid Python expression.

To make this function work on your own classes, implement the __oct__ method.

Changed in version 2.4: Formerly only returned an unsigned literal.

 

A Django site. this page was rendered by a django application in 0.00s 2012-07-30 22:44:44.860808. hosted by webfaction.